/libcore/ojluni/src/main/java/java/util/ |
H A D | Stack.java | 34 * for whether the stack is <tt>empty</tt>, and a method to <tt>search</tt> 51 * Creates an empty Stack. 78 * @throws EmptyStackException if this stack is empty. 96 * @throws EmptyStackException if this stack is empty. 107 * Tests if this stack is empty. 112 public boolean empty() { method in class:Stack
|
H A D | OptionalDouble.java | 47 * Common instance for {@code empty()}. 58 * Construct an empty instance. 60 * @implNote generally only one empty instance, {@link OptionalDouble#EMPTY}, 69 * Returns an empty {@code OptionalDouble} instance. No value is present for this 73 * is empty by comparing with {@code ==} against instances returned by 74 * {@code Option.empty()}. There is no guarantee that it is a singleton. 77 * @return an empty {@code OptionalDouble}. 79 public static OptionalDouble empty() { method in class:OptionalDouble 169 * @apiNote A method reference to the exception constructor with an empty 232 * Returns a non-empty strin [all...] |
H A D | OptionalInt.java | 47 * Common instance for {@code empty()}. 58 * Construct an empty instance. 60 * @implNote Generally only one empty instance, {@link OptionalInt#EMPTY}, 69 * Returns an empty {@code OptionalInt} instance. No value is present for this 73 * is empty by comparing with {@code ==} against instances returned by 74 * {@code Option.empty()}. There is no guarantee that it is a singleton. 77 * @return an empty {@code OptionalInt} 79 public static OptionalInt empty() { method in class:OptionalInt 170 * @apiNote A method reference to the exception constructor with an empty 233 * Returns a non-empty strin [all...] |
H A D | OptionalLong.java | 47 * Common instance for {@code empty()}. 58 * Construct an empty instance. 60 * @implNote generally only one empty instance, {@link OptionalLong#EMPTY}, 69 * Returns an empty {@code OptionalLong} instance. No value is present for this 73 * is empty by comparing with {@code ==} against instances returned by 74 * {@code Option.empty()}. There is no guarantee that it is a singleton. 77 * @return an empty {@code OptionalLong}. 79 public static OptionalLong empty() { method in class:OptionalLong 169 * @apiNote A method reference to the exception constructor with an empty 232 * Returns a non-empty strin [all...] |
H A D | Optional.java | 48 * Common instance for {@code empty()}. 58 * Constructs an empty instance. 60 * @implNote Generally only one empty instance, {@link Optional#EMPTY}, 68 * Returns an empty {@code Optional} instance. No value is present for this 72 * is empty by comparing with {@code ==} against instances returned by 73 * {@code Option.empty()}. There is no guarantee that it is a singleton. 77 * @return an empty {@code Optional} 79 public static<T> Optional<T> empty() { method in class:Optional 109 * otherwise returns an empty {@code Optional}. 114 * is non-null, otherwise an empty { [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/ext/ |
H A D | Attributes2ImplTest.java | 31 private Attributes2Impl empty = new Attributes2Impl(); field in class:Attributes2ImplTest 69 attrs.setAttributes(empty); 83 attrs.setAttributes(empty); 190 assertEquals(0, empty.getLength()); 208 attrs = new Attributes2Impl(empty);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
H A D | AttributeListImplTest.java | 27 private AttributeListImpl empty = new AttributeListImpl(); field in class:AttributeListImplTest 39 assertEquals(0, empty.getLength()); 45 AttributeListImpl ai = new AttributeListImpl(empty); 67 attrs.setAttributeList(empty); 134 AttributeListImpl ai = new AttributeListImpl(empty);
|
H A D | AttributesImplTest.java | 26 private AttributesImpl empty = new AttributesImpl(); field in class:AttributesImplTest 44 assertEquals(0, empty.getLength()); 50 AttributesImpl ai = new AttributesImpl(empty); 68 AttributesImpl ai = new AttributesImpl(empty); 241 attrs.setAttributes(empty); 260 // Expected, but must be empty now
|
/libcore/json/src/main/java/org/json/ |
H A D | JSONStringer.java | 174 JSONStringer open(Scope empty, String openBracket) throws JSONException { argument 179 stack.add(empty); 188 JSONStringer close(Scope empty, Scope nonempty, String closeBracket) throws JSONException { argument 190 if (context != nonempty && context != empty) {
|
/libcore/ojluni/src/main/java/java/util/stream/ |
H A D | DoubleStream.java | 155 * an empty stream is used, instead.) 255 * empty stream will be returned. 394 * return foundAny ? OptionalDouble.of(result) : OptionalDouble.empty(); 498 * stream, or an empty OptionalDouble if this stream is empty. The minimum 512 * stream, or an empty optional if the stream is empty 518 * stream, or an empty OptionalDouble if this stream is empty. The maximum 533 * stream, or an empty optiona 733 public static DoubleStream empty() { method in interface:DoubleStream [all...] |
H A D | Stream.java | 231 * an empty stream is used, instead.) 275 * {@code null} an empty stream is used, instead.) 295 * {@code null} an empty stream is used, instead.) 315 * {@code null} an empty stream is used, instead.) 453 * empty stream will be returned. 623 * return foundAny ? Optional.of(result) : Optional.empty(); 817 * or an empty {@code Optional} if the stream is empty 834 * or an empty {@code Optional} if the stream is empty 972 public static<T> Stream<T> empty() { method in interface:Stream [all...] |
H A D | IntStream.java | 153 * an empty stream is used, instead.) 250 * empty stream will be returned. 389 * return foundAny ? OptionalInt.of(result) : OptionalInt.empty(); 466 * stream, or an empty optional if this stream is empty. This is a special 476 * stream, or an empty {@code OptionalInt} if the stream is empty 482 * stream, or an empty optional if this stream is empty. This is a special 493 * stream, or an empty { 701 public static IntStream empty() { method in interface:IntStream [all...] |
H A D | LongStream.java | 157 * an empty stream is used, instead.) 254 * empty stream will be returned. 393 * return foundAny ? OptionalLong.of(result) : OptionalLong.empty(); 470 * stream, or an empty optional if this stream is empty. This is a special 480 * stream, or an empty {@code OptionalLong} if the stream is empty 486 * stream, or an empty optional if this stream is empty. This is a special 497 * stream, or an empty { 693 public static LongStream empty() { method in interface:LongStream [all...] |
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
H A D | LambdaTestHelpers.java | 142 public static List<Integer> empty() { method in class:LambdaTestHelpers
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
H A D | LambdaTestHelpers.java | 143 public static List<Integer> empty() { method in class:LambdaTestHelpers
|
/libcore/luni/src/main/native/ |
H A D | org_apache_harmony_xml_ExpatParser.cpp | 500 * Possibly empty. 507 * Returns the element or attribute local name, like "h1". Never empty. When 509 * local name like "html:h1". In such cases, the qName will always be empty. 516 * Returns the namespace prefix, like "html". Possibly empty. 1295 static void ExpatParser_staticInitialize(JNIEnv* env, jobject classObject, jstring empty) { argument 1353 emptyString = reinterpret_cast<jstring>(env->NewGlobalRef(empty));
|