Home
last modified time | relevance | path

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

123

/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
DListOfTest.java89 @Test public void empty() { in empty() method in ListOfTest
DSetOfTest.java99 @Test public void empty() { in empty() method in SetOfTest
/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
DConcurrentHashMap8Test.java403 Collection empty = ConcurrentHashMap.newKeySet(); in testIterator() local
486 Set empty = ConcurrentHashMap.newKeySet(); in testSize() local
517 Collection empty = ConcurrentHashMap.newKeySet(); 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
DHashtableTest.java71 Hashtable empty = new Hashtable(0); in test_ConstructorI() local
85 Hashtable empty = new Hashtable(0, 0.75f); in test_ConstructorIF() local
/libcore/ojluni/src/main/java/java/util/stream/
DDoubleStream.java735 public static DoubleStream empty() { in empty() method
DIntStream.java701 public static IntStream empty() { in empty() method

123