- Sort Score
- Result 10 results
- Languages All
Results 21 - 29 of 29 for newLinkedHashSet (0.18 sec)
-
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
assertFalse(entries.remove(Maps.immutableEntry("foo", singletonList(1)))); assertFalse(entries.contains(Maps.immutableEntry("foo", Sets.newLinkedHashSet(asList(1, 2))))); assertFalse(entries.remove(Maps.immutableEntry("foo", Sets.newLinkedHashSet(asList(1, 2))))); assertFalse(entries.contains(Maps.immutableEntry("foo", singleton(2)))); assertFalse(entries.remove(Maps.immutableEntry("foo", singleton(2))));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 38.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
} return filter(multimap); } @Override public Collection<Integer> createCollection(Iterable<? extends Integer> values) { return Sets.newLinkedHashSet(values); } } abstract static class FilteredListMultimapGenerator extends TestFilteredMultimapGenerator<ListMultimap<String, Integer>> implements TestListMultimapGenerator<String, Integer> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 28.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
addAll(list, elements); return list; } public static <E extends @Nullable Object> List<E> copyToList(E[] elements) { return copyToList(asList(elements)); } // Clone of Sets.newLinkedHashSet public static <E extends @Nullable Object> Set<E> copyToSet(Iterable<? extends E> elements) { Set<E> set = new LinkedHashSet<>(); addAll(set, elements); return set; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
} // Foo.class -> [FooTest.class, FooTests.class, FooTestSuite.class, ...] Multimap<Class<?>, Class<?>> testClasses = HashMultimap.create(); LinkedHashSet<Class<?>> candidateClasses = Sets.newLinkedHashSet(); for (Class<?> cls : classes) { Optional<String> testedClassName = TEST_SUFFIX.chop(cls.getName()); if (testedClassName.isPresent()) { Class<?> testedClass = classMap.get(testedClassName.get());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:43:49 UTC 2024 - 17.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
return generateLinkedHashSet(freshElement); } @Generates static <E> LinkedHashSet<E> generateLinkedHashSet(@Nullable E freshElement) { LinkedHashSet<E> set = Sets.newLinkedHashSet(); set.add(freshElement); return set; } @Generates static <E> ImmutableSet<E> generateImmutableSet(E freshElement) { return ImmutableSet.of(freshElement); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
return generateLinkedHashSet(freshElement); } @Generates static <E> LinkedHashSet<E> generateLinkedHashSet(@Nullable E freshElement) { LinkedHashSet<E> set = Sets.newLinkedHashSet(); set.add(freshElement); return set; } @Generates static <E> ImmutableSet<E> generateImmutableSet(E freshElement) { return ImmutableSet.of(freshElement); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
assertThat(alreadyThere).containsExactly("already", "there", "freshly", "added"); assertTrue(changed); } public void testAddAllToSet() { Set<String> alreadyThere = Sets.newLinkedHashSet(asList("already", "there")); List<String> oneMore = Lists.newArrayList("there"); boolean changed = Iterators.addAll(alreadyThere, oneMore.iterator());
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-tests/test/com/google/common/collect/IteratorsTest.java
assertThat(alreadyThere).containsExactly("already", "there", "freshly", "added"); assertTrue(changed); } public void testAddAllToSet() { Set<String> alreadyThere = Sets.newLinkedHashSet(asList("already", "there")); List<String> oneMore = Lists.newArrayList("there"); boolean changed = Iterators.addAll(alreadyThere, oneMore.iterator());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 54.1K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException { int hits = 0; int misses = 0; Map<K, V> result = Maps.newLinkedHashMap(); Set<K> keysToLoad = Sets.newLinkedHashSet(); for (K key : keys) { V value = get(key); if (!result.containsKey(key)) { result.put(key, value); if (value == null) { misses++;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 149.2K bytes - Viewed (0)