HomeSort by relevance Sort by last modified time
    Searched defs:MinimalCollection (Results 1 - 5 of 5) sorted by null

  /external/guava/guava-testlib/src/com/google/common/collect/testing/
MinimalCollection.java 30 public class MinimalCollection<E> extends AbstractCollection<E> {
33 public static <E> MinimalCollection<E> of(E... contents) {
34 return new MinimalCollection<E>(Object.class, true, contents);
38 public static <E> MinimalCollection<E> ofClassAndContents(
40 return new MinimalCollection<E>(type, true, contents);
48 MinimalCollection(Class<? super E> type, boolean allowNulls, E... contents) {
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
CollectionAddAllTester.java 26 import com.google.common.collect.testing.MinimalCollection;
84 collection.addAll(MinimalCollection.of(samples.e3, samples.e0)));
93 collection.addAll(MinimalCollection.of(samples.e3, samples.e0));
105 collection.addAll(MinimalCollection.of(samples.e0)));
CollectionRemoveAllTester.java 25 import com.google.common.collect.testing.MinimalCollection;
47 collection.removeAll(MinimalCollection.of()));
54 collection.removeAll(MinimalCollection.of(samples.e3)));
62 collection.removeAll(MinimalCollection.of(samples.e0)));
70 collection.removeAll(MinimalCollection.of(samples.e0, samples.e3)));
81 collection.removeAll(MinimalCollection.of(
92 collection.removeAll(MinimalCollection.of()));
103 collection.removeAll(MinimalCollection.of(samples.e3)));
113 collection.removeAll(MinimalCollection.of(samples.e0));
152 MinimalCollection<?> containsNull = MinimalCollection.of((Object) null)
    [all...]
ListAddAllAtIndexTester.java 26 import com.google.common.collect.testing.MinimalCollection;
48 getList().addAll(0, MinimalCollection.of(samples.e0)));
56 getList().addAll(0, MinimalCollection.of(samples.e0));
67 getList().addAll(0, MinimalCollection.of(samples.e0, samples.e3)));
75 getList().addAll(0, MinimalCollection.of(samples.e0, samples.e3));
102 MinimalCollection<E> elementsToAdd
103 = MinimalCollection.of(samples.e0, samples.e1, samples.e0, samples.e1);
165 getList().addAll(-1, MinimalCollection.of(samples.e3));
176 getList().addAll(getNumElements() + 1, MinimalCollection.of(samples.e3));
MapPutAllTester.java 26 import com.google.common.collect.testing.MinimalCollection;
92 putAll(MinimalCollection.of(samples.e3, samples.e0));
100 putAll(MinimalCollection.of(samples.e3, samples.e0));
111 putAll(MinimalCollection.of(samples.e0));

Completed in 33 milliseconds