Home
last modified time | relevance | path

Searched defs:empty (Results 1 – 25 of 77) sorted by relevance

1234

/libcore/luni/src/test/java/libcore/java/util/
DOptionalTest.java44 Optional<String> empty = Optional.empty(); in testGet() local
58 Optional<String> empty = Optional.empty(); in testIsPresent() local
68 Optional<String> empty = Optional.empty(); in testIfPresent() local
85 Optional<String> empty = Optional.empty(); in testFilter() local
108 Optional<String> empty = Optional.empty(); in testMap() local
129 Optional<String> empty = Optional.empty(); in testFlatMap() local
163 Optional<String> empty = Optional.empty(); in testOrElse() local
176 Optional<String> empty = Optional.empty(); in testOrElseGet() local
191 Optional<String> empty = Optional.empty(); in testOrElseThrow() local
DSpliteratorsTest.java37 Spliterator.OfInt empty = Spliterators.emptyIntSpliterator(); in testEmptyIntSpliterator() local
54 Spliterator<Object> empty = Spliterators.emptySpliterator(); in testEmptyRefSpliterator() local
67 Spliterator.OfLong empty = Spliterators.emptyLongSpliterator(); in testEmptyLongSpliterator() local
84 Spliterator.OfDouble empty = Spliterators.emptyDoubleSpliterator(); in testEmptyDoubleSpliterator() local
/libcore/jsr166-tests/src/test/java/jsr166/
DConcurrentSkipListSubMapTest.java127 ConcurrentNavigableMap empty = map0(); in testGet() local
135 ConcurrentNavigableMap empty = map0(); in testIsEmpty() local
DTreeSubMapTest.java126 NavigableMap empty = map0(); in testGet() local
134 NavigableMap empty = map0(); in testIsEmpty() local
DCopyOnWriteArraySetTest.java222 Collection empty = new CopyOnWriteArraySet(); in testIterator() local
301 Collection empty = new CopyOnWriteArraySet(); in testSize() local
331 Collection empty = new CopyOnWriteArraySet(); in testToArray2() local
DTreeMapTest.java107 TreeMap empty = new TreeMap(); in testGet() local
115 TreeMap empty = new TreeMap(); in testIsEmpty() local
DConcurrentSkipListMapTest.java108 ConcurrentSkipListMap empty = new ConcurrentSkipListMap(); in testGet() local
116 ConcurrentSkipListMap empty = new ConcurrentSkipListMap(); in testIsEmpty() local
DCopyOnWriteArrayListTest.java250 CopyOnWriteArrayList empty = new CopyOnWriteArrayList(); in testIsEmpty() local
261 Collection empty = new CopyOnWriteArrayList(); in testIterator() local
421 CopyOnWriteArrayList empty = new CopyOnWriteArrayList(); in testSize() local
451 Collection empty = new CopyOnWriteArrayList(); in testToArray2() local
DConcurrentHashMapTest.java295 ConcurrentHashMap empty = new ConcurrentHashMap(); in testGet() local
304 ConcurrentHashMap empty = new ConcurrentHashMap(); in testIsEmpty() local
418 ConcurrentHashMap empty = new ConcurrentHashMap(); in testPutAll() local
512 ConcurrentHashMap empty = new ConcurrentHashMap(); in testSize() local
/libcore/ojluni/src/test/java/util/concurrent/tck/
DConcurrentSkipListSubMapTest.java150 ConcurrentNavigableMap empty = map0(); in testGet() local
158 ConcurrentNavigableMap empty = map0(); in testIsEmpty() local
DTreeSubMapTest.java149 NavigableMap empty = map0(); in testGet() local
157 NavigableMap empty = map0(); in testIsEmpty() local
DCopyOnWriteArraySetTest.java244 Collection empty = new CopyOnWriteArraySet(); in testIterator() local
323 Collection empty = new CopyOnWriteArraySet(); in testSize() local
353 Collection empty = new CopyOnWriteArraySet(); in testToArray2() local
DConcurrentSkipListMapTest.java131 ConcurrentSkipListMap empty = new ConcurrentSkipListMap(); in testGet() local
139 ConcurrentSkipListMap empty = new ConcurrentSkipListMap(); in testIsEmpty() local
DTreeMapTest.java130 TreeMap empty = new TreeMap(); in testGet() local
138 TreeMap empty = new TreeMap(); in testIsEmpty() local
DCopyOnWriteArrayListTest.java288 CopyOnWriteArrayList empty = new CopyOnWriteArrayList(); in testIsEmpty() local
299 Collection empty = new CopyOnWriteArrayList(); in testIterator() local
459 CopyOnWriteArrayList empty = new CopyOnWriteArrayList(); in testSize() local
489 Collection empty = new CopyOnWriteArrayList(); in testToArray2() local
/libcore/ojluni/src/main/java/java/util/
DStack.java112 public boolean empty() { in empty() method in Stack
DOptionalInt.java79 public static OptionalInt empty() { in empty() method in OptionalInt
DOptionalLong.java79 public static OptionalLong empty() { in empty() method in OptionalLong
DOptionalDouble.java79 public static OptionalDouble empty() { in empty() method in OptionalDouble
DOptional.java79 public static<T> Optional<T> empty() { in empty() method in Optional
/libcore/json/src/main/java/org/json/
DJSONStringer.java180 JSONStringer open(Scope empty, String openBracket) throws JSONException { in open()
195 JSONStringer close(Scope empty, Scope nonempty, String closeBracket) throws JSONException { in close()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DAttributeListImplTest.java27 private AttributeListImpl empty = new AttributeListImpl(); field in AttributeListImplTest
DAttributesImplTest.java26 private AttributesImpl empty = new AttributesImpl(); field in AttributesImplTest
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/ext/
DAttributes2ImplTest.java31 private Attributes2Impl empty = new Attributes2Impl(); field in Attributes2ImplTest
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DWeakHashMapTest.java82 WeakHashMap empty = new WeakHashMap(0); in test_ConstructorI() local
106 WeakHashMap empty = new WeakHashMap(0, 0.75f); in test_ConstructorIF() local

1234