Home
last modified time | relevance | path

Searched refs:numberOrdering (Results 1 – 2 of 2) sorted by relevance

/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DOrderingTest.java56 private final Ordering<Number> numberOrdering = new NumberOrdering(); field in OrderingTest
309 Ordering<Number> reverseOrder = numberOrdering.reverse();
314 .addEqualityGroup(reverseOrder, numberOrdering.reverse())
323 assertSame(numberOrdering, numberOrdering.reverse().reverse());
391 .addEqualityGroup(numberOrdering.lexicographical())
402 .addEqualityGroup(numberOrdering.nullsFirst())
413 .addEqualityGroup(numberOrdering.nullsLast())
420 assertEquals(4, numberOrdering.binarySearch(ints, 7));
427 numberOrdering.nullsLast().sortedCopy(unsortedInts);
431 numberOrdering.sortedCopy(Collections.<Integer>emptyList()));
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DOrderingTest.java58 private final Ordering<Number> numberOrdering = new NumberOrdering(); field in OrderingTest
311 Ordering<Number> reverseOrder = numberOrdering.reverse();
316 .addEqualityGroup(reverseOrder, numberOrdering.reverse())
325 assertSame(numberOrdering, numberOrdering.reverse().reverse());
393 .addEqualityGroup(numberOrdering.lexicographical())
404 .addEqualityGroup(numberOrdering.nullsFirst())
415 .addEqualityGroup(numberOrdering.nullsLast())
422 assertEquals(4, numberOrdering.binarySearch(ints, 7));
429 numberOrdering.nullsLast().sortedCopy(unsortedInts);
433 numberOrdering.sortedCopy(Collections.<Integer>emptyList()));
[all …]