Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/collect/
DRangesTest.java42 assertEquals(Ranges.closed(0, 0), Ranges.encloseAll(Arrays.asList(0))); in testEncloseAll()
43 assertEquals(Ranges.closed(-3, 5), Ranges.encloseAll(Arrays.asList(5, -3))); in testEncloseAll()
44 assertEquals(Ranges.closed(-3, 5), Ranges.encloseAll(Arrays.asList(1, 2, 2, 2, 5, -3, 0, -1))); in testEncloseAll()
49 Ranges.encloseAll(ImmutableSet.<Integer>of()); in testEncloseAll_empty()
57 Ranges.encloseAll(nullFirst); in testEncloseAll_nullValue()
62 Ranges.encloseAll(nullNotFirst); in testEncloseAll_nullValue()
/external/guava/guava/src/com/google/common/collect/
DRanges.java235 public static <C extends Comparable<?>> Range<C> encloseAll( in encloseAll() method in Ranges