Home
last modified time | relevance | path

Searched refs:DoubleUnaryOperator (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/function/
DDoubleUnaryOperatorTest.java23 import java.util.function.DoubleUnaryOperator;
28 assertEquals(1.0d, DoubleUnaryOperator.identity().applyAsDouble(1.0d)); in testIdentity()
29 assertEquals(Double.NaN, DoubleUnaryOperator.identity().applyAsDouble(Double.NaN)); in testIdentity()
31 DoubleUnaryOperator.identity().applyAsDouble(Double.NEGATIVE_INFINITY)); in testIdentity()
33 DoubleUnaryOperator.identity().applyAsDouble(Double.MAX_VALUE)); in testIdentity()
37 DoubleUnaryOperator plusOne = x -> x + 1.0d; in testCompose()
38 DoubleUnaryOperator twice = x -> 2 *x; in testCompose()
43 DoubleUnaryOperator plusOne = x -> x + 1.0d; in testCompose_null()
51 DoubleUnaryOperator plusOne = x -> x + 1.0d; in testAndThen()
52 DoubleUnaryOperator twice = x -> 2 *x; in testAndThen()
[all …]
/libcore/ojluni/src/main/java/java/util/function/
DDoubleUnaryOperator.java41 public interface DoubleUnaryOperator { interface
64 default DoubleUnaryOperator compose(DoubleUnaryOperator before) { in compose()
82 default DoubleUnaryOperator andThen(DoubleUnaryOperator after) { in andThen()
92 static DoubleUnaryOperator identity() { in identity()
/libcore/ojluni/src/main/java/java/util/stream/
DDoubleStream.java42 import java.util.function.DoubleUnaryOperator;
101 DoubleStream map(DoubleUnaryOperator mapper); in map()
1002 public static DoubleStream iterate(final double seed, final DoubleUnaryOperator f) { in iterate()
1063 …public static DoubleStream iterate(double seed, DoublePredicate hasNext, DoubleUnaryOperator next)… in iterate()
DDoublePipeline.java41 import java.util.function.DoubleUnaryOperator;
212 public final DoubleStream map(DoubleUnaryOperator mapper) {
/libcore/ojluni/annotations/flagged_api/java/util/stream/
DDoubleStream.annotated.java33 public java.util.stream.DoubleStream map(java.util.function.DoubleUnaryOperator mapper); in map()
114 …a.util.stream.DoubleStream iterate(double seed, java.util.function.DoubleUnaryOperator f) { throw … in iterate()
117 …ed, java.util.function.DoublePredicate hasNext, java.util.function.DoubleUnaryOperator next) { thr… in iterate()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DDefaultMethodStreams.java51 import java.util.function.DoubleUnaryOperator;
807 public DoubleStream map(DoubleUnaryOperator mapper) { in map()
/libcore/api/
Dcurrent.txt17133 @java.lang.FunctionalInterface public interface DoubleUnaryOperator {
17134 …method public default java.util.function.DoubleUnaryOperator andThen(java.util.function.DoubleUnar…
17136 …method public default java.util.function.DoubleUnaryOperator compose(java.util.function.DoubleUnar…
17137 method public static java.util.function.DoubleUnaryOperator identity();
18257 …ublic static java.util.stream.DoubleStream iterate(double, java.util.function.DoubleUnaryOperator);
18258 …Stream iterate(double, java.util.function.DoublePredicate, java.util.function.DoubleUnaryOperator);
18261 method public java.util.stream.DoubleStream map(java.util.function.DoubleUnaryOperator);
/libcore/
Dopenjdk_java_files.bp1074 "ojluni/src/main/java/java/util/function/DoubleUnaryOperator.java",
DEXPECTED_UPSTREAM1125 …/java/util/function/DoubleUnaryOperator.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/java…