Searched defs:emptyValue (Results 1 - 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
H A DStringJoiner.java34 * However, if the {@code setEmptyValue} method is called, the {@code emptyValue}
84 private String emptyValue; field in class:StringJoiner
128 this.emptyValue = this.prefix + this.suffix;
134 * added yet, that is, when it is empty. A copy of the {@code emptyValue}
139 * @param emptyValue the characters to return as the value of an empty
142 * @throws NullPointerException when the {@code emptyValue} parameter is
145 public StringJoiner setEmptyValue(CharSequence emptyValue) { argument
146 this.emptyValue = Objects.requireNonNull(emptyValue,
155 * {@code prefix + suffix} or the {@code emptyValue} character
[all...]
/libcore/ojluni/src/main/java/java/util/stream/
H A DFindOps.java111 final O emptyValue; field in class:FindOps.FindOp
121 * @param emptyValue result value corresponding to "found nothing"
129 O emptyValue,
134 this.emptyValue = emptyValue;
153 return result != null ? result : emptyValue;
273 return op.emptyValue;
127 FindOp(boolean mustFindFirst, StreamShape shape, O emptyValue, Predicate<O> presentPredicate, Supplier<TerminalSink<T, O>> sinkSupplier) argument

Completed in 39 milliseconds