- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 601 for collection (0.18 sec)
-
android/guava-tests/test/com/google/common/collect/ListsImplTest.java
ImmutableList.of( (Iterable<String>) Collections.singleton("A"), Collections.<String>emptyList(), ImmutableList.of("A", "B", "C"), ImmutableList.of("D", "E")); List<Integer> indexes = ImmutableList.of(0, 0, 1, 3); List<List<String>> expected = ImmutableList.of( Collections.singletonList("A"), ImmutableList.of("A"),
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 16:35:21 GMT 2024 - 10.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION); assertEquals(SOME_COLLECTION, list); } public void testNewArrayListFromIterable() { ArrayList<Integer> list = Lists.newArrayList(SOME_ITERABLE); assertEquals(SOME_COLLECTION, list); } public void testNewArrayListFromIterator() { ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION.iterator()); assertEquals(SOME_COLLECTION, list);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 35.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
public class CollectionRetainAllTester<E> extends AbstractCollectionTester<E> { /** A collection of elements to retain, along with a description for use in failure messages. */ private class Target { private final Collection<E> toRetain; private final String description; private Target(Collection<E> toRetain, String description) { this.toRetain = toRetain; this.description = description; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 10.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedHashMultimap.java
return super.keySet(); } /** * Returns a collection of all values in the multimap. Changes to the returned collection will * update the underlying multimap, and vice versa. * * <p>The iterator generated by the returned collection traverses the values in the order they * were added to the multimap. */ @Override public Collection<V> values() { return super.values(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 23.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java
Collections.synchronizedMap(new WeakHashMap<>()); private final Map<org.eclipse.aether.artifact.Artifact, Artifact> allArtifacts = Collections.synchronizedMap(new WeakHashMap<>()); private final Map<org.eclipse.aether.repository.RemoteRepository, RemoteRepository> allRepositories = Collections.synchronizedMap(new WeakHashMap<>());
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 27.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multiset.java
import com.google.errorprone.annotations.CompatibleWith; import java.util.Collection; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.Set; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A collection that supports order-independent equality, like {@link Set}, but may have duplicate
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sat Jun 17 14:40:53 GMT 2023 - 19.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
* limitations under the License. */ package com.google.common.collect.testing; import static java.util.Collections.singleton; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.J2ktIncompatible; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 45.9K bytes - Viewed (2) -
android/guava/src/com/google/common/primitives/Bytes.java
* to primitives * @throws NullPointerException if {@code collection} or any of its elements is null * @since 1.0 (parameter was {@code Collection<Byte>} before 12.0) */ public static byte[] toArray(Collection<? extends Number> collection) { if (collection instanceof ByteArrayAsList) { return ((ByteArrayAsList) collection).toByteArray(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 14.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 12.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
} } public void testCopyOf_collection_empty() { // "<String>" is required to work around a javac 1.5 bug. Collection<String> c = MinimalCollection.<String>of(); Multiset<String> multiset = ImmutableMultiset.copyOf(c); assertTrue(multiset.isEmpty()); } public void testCopyOf_collection_oneElement() { Collection<String> c = MinimalCollection.of("a");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 21K bytes - Viewed (0)