Searched refs:MinimalSet (Results 1 – 7 of 7) sorted by relevance
23 import com.google.common.collect.testing.MinimalSet;40 getSet().equals(MinimalSet.from(getSampleElements()))); in testEquals_otherSetWithSameElements()50 getSet().equals(MinimalSet.from(elements)) in testEquals_otherSetWithDifferentElements()63 getSet().equals(MinimalSet.from(elements))); in testEquals_containingNull()70 Set<E> other = MinimalSet.from(elements); in testEquals_otherContainsNull()81 getSet().equals(MinimalSet.from(fewerElements))); in testEquals_smallerSet()87 getSet().equals(MinimalSet.from(moreElements))); in testEquals_largerSet()
22 import com.google.common.collect.testing.MinimalSet;88 getList().equals(MinimalSet.from(getList()))); in testEquals_set()
35 public class MinimalSet<E> extends MinimalCollection<E> implements Set<E> { class38 public static <E> MinimalSet<E> of(E... contents) { in of()44 public static <E> MinimalSet<E> from(Collection<? extends E> contents) { in from()48 public static <E> MinimalSet<E> ofClassAndContents( in ofClassAndContents()57 return new MinimalSet<E>(type, setContents.toArray(emptyArrayForContents)); in ofClassAndContents()60 private MinimalSet(Class<? super E> type, E... contents) { in MinimalSet() method in MinimalSet
21 import com.google.common.collect.testing.MinimalSet;126 MinimalSet.of(elements)); in suite()
30 import com.google.common.collect.testing.MinimalSet;166 assertEquals(MinimalSet.from(map.entrySet()), map.entrySet()); in assertMoreInvariants()
37 return MinimalSet.of(elements); in suite()
24 import com.google.common.collect.testing.MinimalSet;74 assertEquals(MinimalSet.from(map.entrySet()), map.entrySet()); in assertMoreInvariants()