/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | PrimitiveAverageOpTest.java | 40 exerciseTerminalOps(data, s -> s.average()); in testOps() 45 exerciseTerminalOps(data, s -> s.average()); in testOps() 54 exerciseTerminalOps(data, s -> s.average()); in testOps()
|
D | TabulatorsTest.java | 314 s -> s.mapToInt(x -> x * 2).average().orElse(0)); 316 s -> s.mapToLong(x -> x * 2).average().orElse(0)); 318 s -> s.mapToDouble(x -> x * 2).average().orElse(0)); 333 s -> s.mapToInt(x -> x * 2).average().orElse(0));
|
D | CollectorsTest.java | 393 s -> s.mapToInt(x -> x * 2).average().orElse(0)); 395 s -> s.mapToLong(x -> x * 2).average().orElse(0)); 397 s -> s.mapToDouble(x -> x * 2).average().orElse(0)); 412 s -> s.mapToInt(x -> x * 2).average().orElse(0)); 797 …assertCollect(data, averaging, stream -> stream.mapToInt(Integer::intValue).average().orElse(Doubl…
|
/libcore/ojluni/src/test/java/util/stream/ |
D | TestDoubleSumAverage.java | 56 return compareUlpDifference(0.0, ds.get().average().getAsDouble(), 0); in testZeroAverageOfNonEmptyStream() 91 ds.get().average().getAsDouble(), 3); in testForCompenstation() 138 failures += compareUlpDifference(expected, ds.get().average().getAsDouble(), 0); in testNonfiniteSum()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | DefaultMethodStreams.java | 503 public OptionalDouble average() { in average() method in DefaultMethodStreams.DefaultMethodIntStream 504 return s.average(); in average() 709 public OptionalDouble average() { in average() method in DefaultMethodStreams.DefaultMethodLongStream 710 return s.average(); in average() 907 public OptionalDouble average() { in average() method in DefaultMethodStreams.DefaultMethodDoubleStream 908 return s.average(); in average()
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
D | Charset-X-Coder.java.template | 142 private final float average$ItypesPerOtype$; 171 * @param average$ItypesPerOtype$ 189 float average$ItypesPerOtype$, 211 if (!(average$ItypesPerOtype$ > 0.0f)) 213 + "average$ItypesPerOtype$"); 218 if (average$ItypesPerOtype$ > max$ItypesPerOtype$) 219 throw new IllegalArgumentException("average$ItypesPerOtype$" 223 this.average$ItypesPerOtype$ = average$ItypesPerOtype$; 248 * @param average$ItypesPerOtype$ 260 float average$ItypesPerOtype$, [all …]
|
/libcore/ojluni/src/test/java/util/stream/Collectors/ |
D | CollectorsTest.java | 375 s -> s.mapToInt(x -> x * 2).average().orElse(0)); 377 s -> s.mapToLong(x -> x * 2).average().orElse(0)); 379 s -> s.mapToDouble(x -> x * 2).average().orElse(0)); 394 s -> s.mapToInt(x -> x * 2).average().orElse(0));
|
/libcore/ojluni/annotations/flagged_api/java/util/stream/ |
D | DoubleStream.annotated.java | 82 public java.util.OptionalDouble average(); in average() method
|
D | IntStream.annotated.java | 82 public java.util.OptionalDouble average(); in average() method
|
D | LongStream.annotated.java | 82 public java.util.OptionalDouble average(); in average() method
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | DoubleStream.java | 801 OptionalDouble average(); in average() method
|
D | IntStream.java | 719 OptionalDouble average(); in average() method
|
D | LongStream.java | 720 OptionalDouble average(); in average() method
|
D | IntPipeline.java | 510 public final OptionalDouble average() {
|
D | LongPipeline.java | 488 public final OptionalDouble average() {
|
D | DoublePipeline.java | 502 public final OptionalDouble average() {
|
/libcore/expectations/ |
D | knownfailures.txt | 1681 description: "the average length of possible UTF-8 sequences is 2 bytes.",
|
/libcore/api/ |
D | current.txt | 18241 method public java.util.OptionalDouble average(); 18299 method public java.util.OptionalDouble average(); 18358 method public java.util.OptionalDouble average();
|