Home
last modified time | relevance | path

Searched refs:MinimalSet (Results 1 – 12 of 12) sorted by relevance

/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DSetEqualsTester.java23 import com.google.common.collect.testing.MinimalSet;
41 getSet().equals(MinimalSet.from(getSampleElements()))); in testEquals_otherSetWithSameElements()
51 getSet().equals(MinimalSet.from(elements))); in testEquals_otherSetWithDifferentElements()
64 getSet().equals(MinimalSet.from(elements))); in testEquals_containingNull()
71 Set<E> other = MinimalSet.from(elements); in testEquals_otherContainsNull()
83 getSet().equals(MinimalSet.from(fewerElements))); in testEquals_smallerSet()
90 getSet().equals(MinimalSet.from(moreElements))); in testEquals_largerSet()
DListEqualsTester.java22 import com.google.common.collect.testing.MinimalSet;
90 assertFalse("A List should never equal a Set.", getList().equals(MinimalSet.from(getList()))); in testEquals_set()
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/testers/
DSetEqualsTester.java23 import com.google.common.collect.testing.MinimalSet;
41 getSet().equals(MinimalSet.from(getSampleElements()))); in testEquals_otherSetWithSameElements()
51 getSet().equals(MinimalSet.from(elements))); in testEquals_otherSetWithDifferentElements()
64 getSet().equals(MinimalSet.from(elements))); in testEquals_containingNull()
71 Set<E> other = MinimalSet.from(elements); in testEquals_otherContainsNull()
83 getSet().equals(MinimalSet.from(fewerElements))); in testEquals_smallerSet()
90 getSet().equals(MinimalSet.from(moreElements))); in testEquals_largerSet()
DListEqualsTester.java22 import com.google.common.collect.testing.MinimalSet;
90 assertFalse("A List should never equal a Set.", getList().equals(MinimalSet.from(getList()))); in testEquals_set()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DMinimalSet.java34 public class MinimalSet<E> extends MinimalCollection<E> implements Set<E> { class
37 public static <E> MinimalSet<E> of(E... contents) { in of()
42 public static <E> MinimalSet<E> from(Collection<? extends E> contents) { in from()
46 public static <E> MinimalSet<E> ofClassAndContents( in ofClassAndContents()
54 return new MinimalSet<E>(type, setContents.toArray(emptyArrayForContents)); in ofClassAndContents()
57 private MinimalSet(Class<? super E> type, E... contents) { in MinimalSet() method in MinimalSet
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/
DMinimalSet.java34 public class MinimalSet<E> extends MinimalCollection<E> implements Set<E> { class
37 public static <E> MinimalSet<E> of(E... contents) { in of()
42 public static <E> MinimalSet<E> from(Collection<? extends E> contents) { in from()
46 public static <E> MinimalSet<E> ofClassAndContents( in ofClassAndContents()
54 return new MinimalSet<E>(type, setContents.toArray(emptyArrayForContents)); in ofClassAndContents()
57 private MinimalSet(Class<? super E> type, E... contents) { in MinimalSet() method in MinimalSet
/external/guava/android/guava-tests/test/com/google/common/collect/
DForwardingSetTest.java22 import com.google.common.collect.testing.MinimalSet;
138 return new StandardImplForwardingSet<>(MinimalSet.of(elements)); in suite()
DImmutableMapTest.java30 import com.google.common.collect.testing.MinimalSet;
193 assertEquals(MinimalSet.from(map.entrySet()), map.entrySet()); in assertMoreInvariants()
/external/guava/guava-tests/test/com/google/common/collect/
DForwardingSetTest.java22 import com.google.common.collect.testing.MinimalSet;
138 return new StandardImplForwardingSet<>(MinimalSet.of(elements)); in suite()
DImmutableMapTest.java33 import com.google.common.collect.testing.MinimalSet;
224 assertEquals(MinimalSet.from(map.entrySet()), map.entrySet()); in assertMoreInvariants()
/external/guava/android/guava-testlib/test/com/google/common/collect/testing/
DMinimalSetTest.java36 return MinimalSet.of(elements); in suite()
/external/guava/guava-testlib/test/com/google/common/collect/testing/
DMinimalSetTest.java36 return MinimalSet.of(elements); in suite()