- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for forArray (0.06 sec)
-
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
} public void testCopyOf_iterator_oneElementRepeated() { Iterator<String> iterator = Iterators.forArray("a", "a", "a"); Set<String> set = copyOf(iterator); assertEquals(singleton("a"), set); } public void testCopyOf_iterator_general() { Iterator<String> iterator = Iterators.forArray("a", "b", "a"); Set<String> set = copyOf(iterator); assertEquals(2, set.size());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
} public void testLeastOfIterator_simple_negativeOne() { assertThrows( IllegalArgumentException.class, () -> numberOrdering.leastOf(Iterators.forArray(3, 4, 5, -1), -1)); } public void testLeastOfIterable_singleton_0() { List<Integer> result = numberOrdering.leastOf(asList(3), 0); assertTrue(result instanceof RandomAccess);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
} public void testLeastOfIterator_simple_negativeOne() { assertThrows( IllegalArgumentException.class, () -> numberOrdering.leastOf(Iterators.forArray(3, 4, 5, -1), -1)); } public void testLeastOfIterable_singleton_0() { List<Integer> result = numberOrdering.leastOf(asList(3), 0); assertTrue(result instanceof RandomAccess);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0)