Home
last modified time | relevance | path

Searched refs:IntSummaryStatistics (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DIntSummaryStatisticsTest.java19 import java.util.IntSummaryStatistics;
28 new IntSummaryStatistics(-1, 0, 0, 0); in test_bad_count()
37 new IntSummaryStatistics(2, 2, 0, 0); in test_bad_min_max()
45 IntSummaryStatistics iss = new IntSummaryStatistics(0, 1, 10, 30); in test_defaults_when_count_is_zero()
54 IntSummaryStatistics iss = new IntSummaryStatistics(9, 1, 5, 25); in test_filled_constructor()
62 IntSummaryStatistics iss = new IntSummaryStatistics(); in test_empty()
71 IntSummaryStatistics iss = new IntSummaryStatistics(); in test_accept()
81 IntSummaryStatistics iss1 = getIntSummaryStatisticsData2(); in test_combine()
82 IntSummaryStatistics issCombined = getIntSummaryStatisticsData1(); in test_combine()
93 IntSummaryStatistics iss1 = getIntSummaryStatisticsData1(); in test_getCount()
[all …]
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DCollectAndSummaryStatisticsTest.java36 import java.util.IntSummaryStatistics;
53 IntSummaryStatistics::accept, in testIntCollectNull()
54 IntSummaryStatistics::combine)); in testIntCollectNull()
55 checkNPE(() -> IntStream.of(1).collect(IntSummaryStatistics::new, in testIntCollectNull()
57 IntSummaryStatistics::combine)); in testIntCollectNull()
58 checkNPE(() -> IntStream.of(1).collect(IntSummaryStatistics::new, in testIntCollectNull()
59 IntSummaryStatistics::accept, in testIntCollectNull()
88 List<IntSummaryStatistics> instances = new ArrayList<>(); in testIntStatistics()
91 instances.add(countTo(1000).stream().mapToInt(i -> i).collect(IntSummaryStatistics::new, in testIntStatistics()
92 IntSummaryStatistics::accept, in testIntStatistics()
[all …]
DSummaryStatisticsTest.java29 import java.util.IntSummaryStatistics;
46 List<IntSummaryStatistics> instances = new ArrayList<>(); in testIntStatistics()
52 for (IntSummaryStatistics stats : instances) { in testIntStatistics()
DCollectorsTest.java32 import java.util.IntSummaryStatistics;
787 (sumCountEntry, minMaxEntry) -> new IntSummaryStatistics(
/libcore/ojluni/src/main/java/java/util/
DIntSummaryStatistics.java65 public class IntSummaryStatistics implements IntConsumer { class
76 public IntSummaryStatistics() { } in IntSummaryStatistics() method in IntSummaryStatistics
108 public IntSummaryStatistics(long count, int min, int max, long sum) in IntSummaryStatistics() method in IntSummaryStatistics
142 public void combine(IntSummaryStatistics other) { in combine()
/libcore/ojluni/src/main/java/java/util/stream/
DIntPipeline.java27 import java.util.IntSummaryStatistics;
526 public final IntSummaryStatistics summaryStatistics() {
527 return collect(IntSummaryStatistics::new, IntSummaryStatistics::accept,
528 IntSummaryStatistics::combine);
DIntStream.java28 import java.util.IntSummaryStatistics;
732 IntSummaryStatistics summaryStatistics(); in summaryStatistics()
DCollectors.java37 import java.util.IntSummaryStatistics;
1856 Collector<T, ?, IntSummaryStatistics> summarizingInt(ToIntFunction<? super T> mapper) {
1857 return new CollectorImpl<T, IntSummaryStatistics, IntSummaryStatistics>(
1858 IntSummaryStatistics::new,
/libcore/ojluni/annotations/flagged_api/java/util/stream/
DIntStream.annotated.java84 public java.util.IntSummaryStatistics summaryStatistics(); in summaryStatistics()
DCollectors.annotated.java113 public static <T> java.util.stream.Collector<T,?,java.util.IntSummaryStatistics> summarizingInt(jav… in summarizingInt()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DDefaultMethodStreams.java31 import java.util.IntSummaryStatistics;
508 public IntSummaryStatistics summaryStatistics() { in summaryStatistics()
/libcore/
Dopenjdk_java_files.bp968 "ojluni/src/main/java/java/util/IntSummaryStatistics.java",
DEXPECTED_UPSTREAM948 …src/main/java/java/util/IntSummaryStatistics.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes…
/libcore/api/
Dcurrent.txt14100 public class IntSummaryStatistics implements java.util.function.IntConsumer {
14101 ctor public IntSummaryStatistics();
14102 … ctor public IntSummaryStatistics(long, int, int, long) throws java.lang.IllegalArgumentException;
14104 method public void combine(java.util.IntSummaryStatistics);
18217 …method public static <T> java.util.stream.Collector<T,?,java.util.IntSummaryStatistics> summarizin…
18340 method public java.util.IntSummaryStatistics summaryStatistics();