- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 973 for collection (0.17 sec)
-
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Oct 13 14:11:58 GMT 2023 - 48K bytes - Viewed (0) -
guava/src/com/google/common/collect/Collections2.java
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 23.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractSetMultimap.java
*/ protected AbstractSetMultimap(Map<K, Collection<V>> map) { super(map); } @Override abstract Set<V> createCollection(); @Override Set<V> createUnmodifiableEmptyCollection() { return Collections.emptySet(); } @Override <E extends @Nullable Object> Collection<E> unmodifiableCollectionSubclass( Collection<E> collection) { return Collections.unmodifiableSet((Set<E>) collection); }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 21:08:00 GMT 2021 - 4.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java
synchronized (collection) { // for Collections.synchronized assertFalse(collection.spliterator().hasCharacteristics(Spliterator.NONNULL)); } } @CollectionFeature.Require(SUPPORTS_ADD) public void testSpliteratorNotImmutable_CollectionAllowsAdd() { // If add is supported, verify that IMMUTABLE is not reported. synchronized (collection) { // for Collections.synchronized
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapsTest.java
return super.add(element); } @Override public boolean addAll(Collection<? extends Integer> collection) { return standardAddAll(collection); } }; } }; Map<Color, Collection<Integer>> map = Maps.newEnumMap(Color.class); Multimap<Color, Integer> multimap = Multimaps.newMultimap(map, factory); try {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 42.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/MapBenchmark.java
Map<Element, Element> create(Collection<Element> keys) { return Collections.unmodifiableMap(Hash.create(keys)); } }, SyncHM { @Override Map<Element, Element> create(Collection<Element> keys) { return Collections.synchronizedMap(Hash.create(keys)); } }, Tree { @Override Map<Element, Element> create(Collection<Element> keys) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 7.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java
return suite; } protected Collection<Method> suppressForEmptyList() { return Collections.emptySet(); } protected Collection<Method> suppressForSingletonList() { return Collections.emptySet(); } protected Collection<Method> suppressForArraysAsList() { return Collections.emptySet(); } protected Collection<Method> suppressForArrayList() { return Collections.emptySet();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 12.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClusterException.java
* } * } * </pre> * * <p>See semantic details at {@link #create(Collection)}. * * @author Luiz-Otavio Zorzella */ @GwtCompatible @ElementTypesAreNonnullByDefault final class ClusterException extends RuntimeException { final Collection<? extends Throwable> exceptions; private ClusterException(Collection<? extends Throwable> exceptions) { super(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
} } public void testCopyOf_collection_empty() { // "<String>" is required to work around a javac 1.5 bug. Collection<String> c = MinimalCollection.<String>of(); List<String> list = ImmutableList.copyOf(c); assertEquals(Collections.emptyList(), list); } public void testCopyOf_collection_oneElement() { Collection<String> c = MinimalCollection.of("a");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 23.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
@Override public Entry<K, Collection<V>>[] createArray(int length) { return (Entry<K, Collection<V>>[]) new Entry<?, ?>[length]; } @Override public Iterable<Entry<K, Collection<V>>> order(List<Entry<K, Collection<V>>> insertionOrder) { Map<K, Collection<V>> map = new HashMap<>(); List<Entry<K, V>> builder = new ArrayList<>(); for (Entry<K, Collection<V>> entry : insertionOrder) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 26.8K bytes - Viewed (0)