Searched refs:getAsDouble (Results 1 – 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/java/util/ |
D | OptionalDouble.java | 112 public double getAsDouble() { in getAsDouble() method in OptionalDouble 162 return isPresent ? value : other.getAsDouble(); in orElseGet()
|
/libcore/ojluni/src/main/java/java/util/function/ |
D | DoubleSupplier.java | 48 double getAsDouble(); in getAsDouble() method
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OptionalDoubleTest.java | 37 assertEquals(56.0, OptionalDouble.of(56.0).getAsDouble()); in testGet() 40 OptionalDouble.empty().getAsDouble(); in testGet()
|
/libcore/ojluni/src/test/java/util/stream/ |
D | TestDoubleSumAverage.java | 54 return compareUlpDifference(0.0, ds.get().average().getAsDouble(), 0); in testZeroAverageOfNonEmptyStream() 89 ds.get().average().getAsDouble(), 3); in testForCompenstation() 136 failures += compareUlpDifference(expected, ds.get().average().getAsDouble(), 0); in testNonfiniteSum()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | MinMaxTest.java | 96 assertEquals(1.0, LongStream.range(1, 1001).asDoubleStream().min().getAsDouble()); in testDoubleMinMax() 97 assertEquals(1000.0, LongStream.range(1, 1001).asDoubleStream().max().getAsDouble()); in testDoubleMinMax()
|
D | FindFirstOpTest.java | 132 assertEquals(i.nextDouble(), r.getAsDouble()); in exerciseDoubleStream()
|
D | FindAnyOpTest.java | 149 double r = or.getAsDouble(); in exerciseDoubleStream()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | StreamSpliterators.java | 1431 action.accept(s.getAsDouble()); in tryAdvance()
|