Home
last modified time | relevance | path

Searched refs:ToIntFunction (Results 1 – 19 of 19) sorted by relevance

/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DTestData.java36 import java.util.function.ToIntFunction;
215 private final ToIntFunction<T_STATE> sizeFn;
226 ToIntFunction<T_STATE> sizeFn) { in AbstractTestData()
275 ToIntFunction<I> sizeFn) { in RefTestData()
290 ToIntFunction<I> sizeFn) { in IntTestData()
315 ToIntFunction<I> sizeFn) { in LongTestData()
340 ToIntFunction<I> sizeFn) { in DoubleTestData()
DLambdaTestHelpers.java46 import java.util.function.ToIntFunction;
80 public static final ToIntFunction<Integer> imDoubler = x -> x * 2;
DDefaultMethodStreams.java74 import java.util.function.ToIntFunction;
197 public IntStream mapToInt(ToIntFunction<? super T> mapper) { in mapToInt()
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DTestData.java36 import java.util.function.ToIntFunction;
214 private final ToIntFunction<T_STATE> sizeFn;
225 ToIntFunction<T_STATE> sizeFn) { in AbstractTestData()
274 ToIntFunction<I> sizeFn) { in RefTestData()
289 ToIntFunction<I> sizeFn) { in IntTestData()
314 ToIntFunction<I> sizeFn) { in LongTestData()
339 ToIntFunction<I> sizeFn) { in DoubleTestData()
DLambdaTestHelpers.java45 import java.util.function.ToIntFunction;
78 public static final ToIntFunction<Integer> imDoubler = x -> x * 2;
/libcore/ojluni/src/main/java/java/util/
DComparator.java30 import java.util.function.ToIntFunction;
287 default Comparator<T> thenComparingInt(ToIntFunction<? super T> keyExtractor) { in thenComparingInt()
491 public static <T> Comparator<T> comparingInt(ToIntFunction<? super T> keyExtractor) { in comparingInt()
DComparators.java31 import java.util.function.ToIntFunction;
/libcore/ojluni/src/main/java/java/util/function/
DToIntFunction.java40 public interface ToIntFunction<T> { interface
/libcore/ojluni/annotations/flagged_api/java/util/stream/
DCollectors.annotated.java63 …stream.Collector<T,?,java.lang.Integer> summingInt(java.util.function.ToIntFunction<? super T> map… in summingInt()
69 …tream.Collector<T,?,java.lang.Double> averagingInt(java.util.function.ToIntFunction<? super T> map… in averagingInt()
113 …T,?,java.util.IntSummaryStatistics> summarizingInt(java.util.function.ToIntFunction<? super T> map… in summarizingInt()
/libcore/ojluni/src/main/java/java/util/stream/
DStream.java43 import java.util.function.ToIntFunction;
208 IntStream mapToInt(ToIntFunction<? super T> mapper); in mapToInt()
DCollectors.java56 import java.util.function.ToIntFunction;
679 summingInt(ToIntFunction<? super T> mapper) {
790 averagingInt(ToIntFunction<? super T> mapper) {
1856 Collector<T, ?, IntSummaryStatistics> summarizingInt(ToIntFunction<? super T> mapper) {
DReferencePipeline.java48 import java.util.function.ToIntFunction;
217 public final IntStream mapToInt(ToIntFunction<? super P_OUT> mapper) {
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DConcurrentHashMapTest.java35 import java.util.function.ToIntFunction;
78 static class KeyAsInt implements ToIntFunction<Map.Entry<Long, Long>> {
/libcore/ojluni/annotations/sdk/nullability/java/util/concurrent/
DConcurrentHashMap.annotated.java158 …t(long parallelismThreshold, @libcore.util.NonNull java.util.function.ToIntFunction<? super @libco… in reduceKeysToInt()
174 …t(long parallelismThreshold, @libcore.util.NonNull java.util.function.ToIntFunction<? super @libco… in reduceValuesToInt()
190 …t(long parallelismThreshold, @libcore.util.NonNull java.util.function.ToIntFunction<java.util.Map.… in reduceEntriesToInt()
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentHashMap.java67 import java.util.function.ToIntFunction;
4039 ToIntFunction<? super K> transformer, in reduceKeysToInt()
4225 ToIntFunction<? super V> transformer, in reduceValuesToInt()
4409 ToIntFunction<Map.Entry<K,V>> transformer, in reduceEntriesToInt()
6162 final ToIntFunction<? super K> transformer;
6170 ToIntFunction<? super K> transformer, in MapReduceKeysToIntTask()
6179 final ToIntFunction<? super K> transformer; in compute()
6212 final ToIntFunction<? super V> transformer;
6220 ToIntFunction<? super V> transformer, in MapReduceValuesToIntTask()
6229 final ToIntFunction<? super V> transformer; in compute()
[all …]
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DStreamOpFlagsTest.java36 import java.util.function.ToIntFunction;
/libcore/api/
Dcurrent.txt13694 …method public static <T> java.util.Comparator<T> comparingInt(java.util.function.ToIntFunction<? s…
13706 …method public default java.util.Comparator<T> thenComparingInt(java.util.function.ToIntFunction<? …
15564 …method public int reduceEntriesToInt(long, @NonNull java.util.function.ToIntFunction<java.util.Map…
15569 …method public int reduceKeysToInt(long, @NonNull java.util.function.ToIntFunction<? super K>, int,…
15577 …method public int reduceValuesToInt(long, @NonNull java.util.function.ToIntFunction<? super V>, in…
17262 @java.lang.FunctionalInterface public interface ToIntFunction<T> {
18193 …l.stream.Collector<T,?,java.lang.Double> averagingInt(java.util.function.ToIntFunction<? super T>);
18217 …or<T,?,java.util.IntSummaryStatistics> summarizingInt(java.util.function.ToIntFunction<? super T>);
18220 …il.stream.Collector<T,?,java.lang.Integer> summingInt(java.util.function.ToIntFunction<? super T>);
18443 method public java.util.stream.IntStream mapToInt(java.util.function.ToIntFunction<? super T>);
/libcore/
Dopenjdk_java_files.bp1100 "ojluni/src/main/java/java/util/function/ToIntFunction.java",
DEXPECTED_UPSTREAM1151 …n/java/java/util/function/ToIntFunction.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/java…