- Sort Score
- Result 10 results
- Languages All
Results 651 - 660 of 1,467 for dist (0.05 sec)
-
android/guava-tests/test/com/google/common/collect/IterablesTest.java
} public void testAny() { List<String> list = newArrayList(); Predicate<String> predicate = equalTo("pants"); assertFalse(any(list, predicate)); list.add("cool"); assertFalse(any(list, predicate)); list.add("pants"); assertTrue(any(list, predicate)); } public void testAll() { List<String> list = newArrayList();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 19:12:33 UTC 2024 - 45K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
} public void testCreation_threeElements() { List<String> list = ImmutableList.of("a", "b", "c"); assertEquals(Lists.newArrayList("a", "b", "c"), list); } public void testCreation_fourElements() { List<String> list = ImmutableList.of("a", "b", "c", "d"); assertEquals(Lists.newArrayList("a", "b", "c", "d"), list); } public void testCreation_fiveElements() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
assertEquals(list, newArrayList(Iterators.limit(list.iterator(), 2))); list.add("pants"); assertFalse(Iterators.limit(list.iterator(), 0).hasNext()); assertEquals(ImmutableList.of("cool"), newArrayList(Iterators.limit(list.iterator(), 1))); assertEquals(list, newArrayList(Iterators.limit(list.iterator(), 2))); assertEquals(list, newArrayList(Iterators.limit(list.iterator(), 3))); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 54.1K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java
throw new Error(); } catch (AssertionFailedError expected) { } } public void testAssertContainsAllOf() { List<?> list = asList("a", "a", "b", "c"); assertContainsAllOf(list, "a"); assertContainsAllOf(list, "a", "a"); assertContainsAllOf(list, "a", "b", "c"); assertContainsAllOf(list, "a", "b", "c", "a"); try { assertContainsAllOf(list, "d");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/HelpersTest.java
throw new Error(); } catch (AssertionFailedError expected) { } } public void testAssertContainsAllOf() { List<?> list = asList("a", "a", "b", "c"); assertContainsAllOf(list, "a"); assertContainsAllOf(list, "a", "a"); assertContainsAllOf(list, "a", "b", "c"); assertContainsAllOf(list, "a", "b", "c", "a"); try { assertContainsAllOf(list, "d");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
} else if (collection instanceof List) { return Collections.unmodifiableList((List<E>) collection); } else { return Collections.unmodifiableCollection(collection); } } @Override Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) { if (collection instanceof List) { return wrapList(key, (List<V>) collection, null);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 86.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/CartesianList.java
private final transient int[] axesSizeProduct; static <E> List<List<E>> create(List<? extends List<? extends E>> lists) { ImmutableList.Builder<List<E>> axesBuilder = new ImmutableList.Builder<>(lists.size()); for (List<? extends E> list : lists) { List<E> copy = ImmutableList.copyOf(list); if (copy.isEmpty()) { return ImmutableList.of(); } axesBuilder.add(copy); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
List<Integer> list = asList(3, 4, 5, -1); List<Integer> result = numberOrdering.leastOf(list, list.size() + 1); assertTrue(result instanceof RandomAccess); assertListImmutable(result); assertEquals(ImmutableList.of(-1, 3, 4, 5), result); } public void testLeastOfIterator_simple_nPlusOne() { List<Integer> list = asList(3, 4, 5, -1);
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
List<Integer> list = asList(3, 4, 5, -1); List<Integer> result = numberOrdering.leastOf(list, list.size() + 1); assertTrue(result instanceof RandomAccess); assertListImmutable(result); assertEquals(ImmutableList.of(-1, 3, 4, 5), result); } public void testLeastOfIterator_simple_nPlusOne() { List<Integer> list = asList(3, 4, 5, -1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.12.md
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Thu Feb 06 06:04:15 UTC 2020 - 293.8K bytes - Viewed (0)