Home
last modified time | relevance | path

Searched refs:emptySet (Results 1 – 25 of 54) sorted by relevance

123

/external/guava/guava-testlib/src/com/google/common/collect/testing/
DTestsForSetsInJavaUtil.java71 return Collections.emptySet(); in suppressForEmptySet()
74 return Collections.emptySet(); in suppressForSingletonSet()
77 return Collections.emptySet(); in suppressForHashSet()
80 return Collections.emptySet(); in suppressForLinkedHashSet()
83 return Collections.emptySet(); in suppressForEnumSet()
86 return Collections.emptySet(); in suppressForTreeSetNatural()
89 return Collections.emptySet(); in suppressForTreeSetWithComparator()
92 return Collections.emptySet(); in suppressForCopyOnWriteArraySet()
95 return Collections.emptySet(); in suppressForUnmodifiableSet()
98 return Collections.emptySet(); in suppressForCheckedSet()
[all …]
DTestsForListsInJavaUtil.java66 return Collections.emptySet(); in suppressForEmptyList()
69 return Collections.emptySet(); in suppressForSingletonList()
72 return Collections.emptySet(); in suppressForArraysAsList()
75 return Collections.emptySet(); in suppressForArrayList()
78 return Collections.emptySet(); in suppressForLinkedList()
81 return Collections.emptySet(); in suppressForCopyOnWriteArrayList()
84 return Collections.emptySet(); in suppressForUnmodifiableList()
87 return Collections.emptySet(); in suppressForCheckedList()
90 return Collections.emptySet(); in suppressForAbstractList()
93 return Collections.emptySet(); in suppressForAbstractSequentialList()
DTestsForQueuesInJavaUtil.java60 return Collections.emptySet(); in suppressForLinkedList()
63 return Collections.emptySet(); in suppressForArrayBlockingQueue()
66 return Collections.emptySet(); in suppressForConcurrentLinkedQueue()
69 return Collections.emptySet(); in suppressForLinkedBlockingQueue()
72 return Collections.emptySet(); in suppressForPriorityBlockingQueue()
75 return Collections.emptySet(); in suppressForPriorityQueue()
DTestsForMapsInJavaUtil.java64 return Collections.emptySet(); in suppressForEmptyMap()
67 return Collections.emptySet(); in suppressForSingletonMap()
70 return Collections.emptySet(); in suppressForHashMap()
73 return Collections.emptySet(); in suppressForLinkedHashMap()
76 return Collections.emptySet(); in suppressForTreeMap()
79 return Collections.emptySet(); in suppressForEnumMap()
82 return Collections.emptySet(); in suppressForConcurrentHashMap()
DIteratorFeature.java54 Collections.emptySet();
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
DLocalVariableInfo.java38 private final RegisterSpecSet emptySet; field in LocalVariableInfo
64 this.emptySet = new RegisterSpecSet(regCount); in LocalVariableInfo()
69 emptySet.setImmutable(); in LocalVariableInfo()
145 return (result != null) ? result : emptySet; in getStarts()
230 if (blockStarts[label] == emptySet) { in debugDump()
/external/dexmaker/src/dx/java/com/android/dx/ssa/
DLocalVariableInfo.java40 private final RegisterSpecSet emptySet; field in LocalVariableInfo
65 this.emptySet = new RegisterSpecSet(regCount); in LocalVariableInfo()
70 emptySet.setImmutable(); in LocalVariableInfo()
142 return (result != null) ? result : emptySet; in getStarts()
227 if (blockStarts[index] == emptySet) { in debugDump()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSortedSet.java58 private static <E> ImmutableSortedSet<E> emptySet() { in emptySet() method in ImmutableSortedSet
62 static <E> ImmutableSortedSet<E> emptySet( in emptySet() method in ImmutableSortedSet
66 return emptySet(); in emptySet()
73 return emptySet(); in of()
128 return emptySet(comparator); in ofInternal()
211 return emptySet(comparator); in copyOfInternal()
238 ? emptySet(delegate.comparator()) in unsafeDelegateSortedSet()
301 return emptySet(comparator()); in headSet()
344 return emptySet(comparator()); in subSet()
354 return emptySet(comparator()); in tailSet()
[all …]
DImmutableSetMultimap.java334 private final transient ImmutableSortedSet<V> emptySet; field in ImmutableSetMultimap
339 this.emptySet = (valueComparator == null) in ImmutableSetMultimap()
340 ? null : ImmutableSortedSet.<V>emptySet(valueComparator); in ImmutableSetMultimap()
356 } else if (emptySet != null) { in get()
357 return emptySet; in get()
/external/guava/guava-testlib/src/com/google/common/collect/testing/features/
DTesterRequirements.java47 this(Collections.<Feature<?>>emptySet(), in TesterRequirements()
48 Collections.<Feature<?>>emptySet()); in TesterRequirements()
DCollectionSize.java73 this.implied = Collections.emptySet(); in CollectionSize()
/external/guava/guava/src/com/google/common/collect/
DEmptyImmutableSortedMultiset.java55 return ImmutableSortedSet.emptySet(comparator()); in createElementSet()
60 return ImmutableSortedSet.emptySet(reverseComparator()); in createDescendingElementSet()
DImmutableSortedSet.java99 private static <E> ImmutableSortedSet<E> emptySet() { in emptySet() method in ImmutableSortedSet
103 static <E> ImmutableSortedSet<E> emptySet( in emptySet() method in ImmutableSortedSet
106 return emptySet(); in emptySet()
116 return emptySet(); in of()
405 ? ImmutableSortedSet.<E>emptySet(comparator) in copyOfInternal()
414 ? ImmutableSortedSet.<E>emptySet(comparator) in copyOfInternal()
DImmutableSetMultimap.java339 private final transient ImmutableSortedSet<V> emptySet; field in ImmutableSetMultimap
344 this.emptySet = (valueComparator == null) in ImmutableSetMultimap()
345 ? null : ImmutableSortedSet.<V>emptySet(valueComparator); in ImmutableSetMultimap()
361 } else if (emptySet != null) { in get()
362 return emptySet; in get()
/external/guava/guava-tests/test/com/google/common/collect/
DAbstractCollectionTest.java101 assertTrue(c.containsAll(Collections.emptySet())); in testContainsAllVacuous()
105 assertFalse(c.removeAll(Collections.emptySet())); in testRemoveAllVacuous()
115 assertTrue(c.retainAll(Collections.emptySet())); in testRetainAllOfNothing()
DAbstractImmutableSetTest.java63 assertEquals(Collections.<String>emptySet(), set); in testCreation_noArgs()
110 assertEquals(Collections.<String>emptySet(), set); in testCopyOf_emptyArray()
141 assertEquals(Collections.<String>emptySet(), set); in testCopyOf_collection_empty()
177 assertEquals(Collections.<String>emptySet(), set); in testCopyOf_iterator_empty()
235 assertEquals(Collections.<String>emptySet(), copyOf(c)); in testCopyOf_shortcut_empty()
DAbstractMultisetTest.java181 assertFalse(ms.addAll(Collections.<String>emptySet())); in testAddAllEmptySet()
316 assertTrue(ms.elementSet().containsAll(Collections.emptySet())); in testContainsAllVacuousViaElementSet()
335 assertFalse(ms.elementSet().removeAll(Collections.emptySet())); in testRemoveAllVacuousViaElementSet()
367 assertTrue(ms.elementSet().retainAll(Collections.emptySet())); in testRetainAllOfNothingViaElementSet()
478 assertEquals(Collections.emptySet(), ms.entrySet()); in testEntrySetEmpty()
DSetsTest.java27 import static java.util.Collections.emptySet;
334 newEnumSet(Collections.<SomeEnum>emptySet(), SomeEnum.class);
507 Set<SomeEnum> noUnits = Collections.emptySet();
525 Set<SomeEnum> set = Collections.emptySet();
590 Set<Integer> mt = emptySet();
596 Set<Integer> mt = emptySet();
602 Set<Integer> mt = emptySet();
680 Set<Integer> mt = emptySet();
DContiguousSetTest.java266 ContiguousSet<Integer> emptySet = Ranges.closedOpen(2,2).asSet(integers()); in testIntersection_empty() local
267 assertEquals(ImmutableSet.of(), set.intersection(emptySet)); in testIntersection_empty()
268 assertEquals(ImmutableSet.of(), emptySet.intersection(set)); in testIntersection_empty()
DMapConstraintsTest.java145 assertEquals(Collections.emptySet(), map.entrySet()); in testConstrainedMapIllegal()
146 assertEquals(Collections.emptySet(), constrained.entrySet()); in testConstrainedMapIllegal()
207 assertEquals(Collections.emptySet(), map.entrySet()); in testConstrainedBiMapIllegal()
208 assertEquals(Collections.emptySet(), constrained.entrySet()); in testConstrainedBiMapIllegal()
494 entry.setValue(Collections.<Integer>emptySet()); in testMultimapAsMapEntriesToArray()
/external/guava/guava-testlib/src/com/google/common/testing/
DNullPointerTester.java76 setDefault(Collection.class, Collections.emptySet()); in setCommonDefaults()
81 setDefault(Iterable.class, Collections.emptySet()); in setCommonDefaults()
89 setDefault(Set.class, Collections.emptySet()); in setCommonDefaults()
/external/icu4c/test/intltest/
Duobjtest.cpp337 UnicodeSet emptySet; in testIDs() local
338 TESTCLASSID_NONE_CTOR(FilteredNormalizer2, (*noNormalizer2, emptySet)); in testIDs()
587 UnicodeSet emptySet; in TestCompilerRTTI() local
590 typeid(*nf) == typeid(emptySet) in TestCompilerRTTI()
/external/jmdns/src/javax/jmdns/impl/
DDNSCache.java103 return Collections.emptySet(); in keySet()
111 return Collections.emptySet(); in values()
119 return Collections.emptySet(); in entrySet()
/external/guava/guava-tests/test/com/google/common/hash/
DHashingTest.java116 Hashing.combineOrdered(Collections.<HashCode>emptySet()); in testCombineOrdered_empty()
166 Hashing.combineUnordered(Collections.<HashCode>emptySet()); in testCombineUnordered_empty()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DEnumSetTest.java332 Set emptySet = EnumSet.noneOf(EmptyEnum.class); in test_addAll_LCollection() local
335 emptySet.add(elements[i]); in test_addAll_LCollection()
337 boolean result = set.addAll(emptySet); in test_addAll_LCollection()
757 EnumSet<EmptyEnum> emptySet = EnumSet.noneOf(EmptyEnum.class); in test_containsAll_LCollection() local
760 emptySet.add((EmptyEnum)elements[i]); in test_containsAll_LCollection()
762 boolean result = set.containsAll(emptySet); in test_containsAll_LCollection()
781 emptySet = EnumSet.noneOf(EmptyEnum.class); in test_containsAll_LCollection()
782 result = set.containsAll(emptySet); in test_containsAll_LCollection()
1059 Set<EmptyEnum> emptySet = EnumSet.noneOf(EmptyEnum.class); in test_removeAll_LCollection() local
1060 result = set.removeAll(emptySet); in test_removeAll_LCollection()
[all …]

123