/libcore/ojluni/src/main/java/jdk/internal/util/ |
D | Preconditions.java | 30 import java.util.function.BiFunction; 57 BiFunction<String, List<Integer>, ? extends RuntimeException> oobef, in outOfBounds() 68 BiFunction<String, List<Integer>, ? extends RuntimeException> oobe, in outOfBoundsCheckIndex() 74 BiFunction<String, List<Integer>, ? extends RuntimeException> oobe, in outOfBoundsCheckFromToIndex() 80 BiFunction<String, List<Integer>, ? extends RuntimeException> oobe, in outOfBoundsCheckFromIndexSize() 153 BiFunction<String, List<Integer>, X> outOfBoundsExceptionFormatter(Function<String, X> f) { in outOfBoundsExceptionFormatter() 156 return new BiFunction<String, List<Integer>, X>() { in outOfBoundsExceptionFormatter() 246 BiFunction<String, List<Integer>, X> oobef) { 293 BiFunction<String, List<Integer>, X> oobef) { 341 BiFunction<String, List<Integer>, X> oobef) {
|
/libcore/luni/src/test/java/libcore/java/util/function/ |
D | BiFunctionTest.java | 21 import java.util.function.BiFunction; 27 BiFunction<Integer, Integer, Integer> add = (x, y) -> x + y; in testAndThen() 33 BiFunction<Integer, Integer, Integer> add = (x, y) -> x + y; in testAndThen_nullFunction() 41 BiFunction<Integer, Integer, Integer> toNull = (x, y) -> null; in testAndThen_nullResult()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | CompletionStage.java | 39 import java.util.function.BiFunction; 310 BiFunction<? super T,? super U,? extends V> fn); in thenCombine() 330 BiFunction<? super T,? super U,? extends V> fn); in thenCombineAsync() 351 BiFunction<? super T,? super U,? extends V> fn, in thenCombineAsync() 717 (BiFunction<? super T, Throwable, ? extends U> fn); in handle() 736 (BiFunction<? super T, Throwable, ? extends U> fn); in handleAsync() 756 (BiFunction<? super T, Throwable, ? extends U> fn, in handleAsync()
|
D | ConcurrentMap.java | 41 import java.util.function.BiFunction; 285 default void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) { in replaceAll() 368 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in computeIfPresent() 416 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in compute() 476 BiFunction<? super V, ? super V, ? extends V> remappingFunction) { in merge()
|
D | ConcurrentHashMap.java | 57 import java.util.function.BiFunction; 1613 public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) { in replaceAll() 1802 …public V computeIfPresent(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in computeIfPresent() 1895 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in compute() 2023 … public V merge(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction) { in merge() 3719 BiFunction<? super K, ? super V, ? extends U> transformer, in forEach() 3745 BiFunction<? super K, ? super V, ? extends U> searchFunction) { in search() 3769 BiFunction<? super K, ? super V, ? extends U> transformer, in reduce() 3770 BiFunction<? super U, ? super U, ? extends U> reducer) { in reduce() 3931 BiFunction<? super K, ? super K, ? extends K> reducer) { in reduceKeys() [all …]
|
D | CompletableFuture.java | 42 import java.util.function.BiFunction; 872 BiFunction<? super T, Throwable, ? extends V> fn; 875 BiFunction<? super T, Throwable, ? extends V> fn) { in UniHandle() 880 Object r; BiFunction<? super T, Throwable, ? extends V> f; in tryFire() 891 BiFunction<? super S, Throwable, ? extends T> f, in uniHandle() 915 Executor e, BiFunction<? super T, Throwable, ? extends V> f) { in uniHandleStage() 1167 BiFunction<? super T,? super U,? extends V> fn; 1170 BiFunction<? super T,? super U,? extends V> fn) { in BiApply() 1177 Object r, s; BiFunction<? super T,? super U,? extends V> f; in tryFire() 1189 BiFunction<? super R,? super S,? extends T> f, in biApply() [all …]
|
/libcore/ojluni/src/main/java/java/util/function/ |
D | BiFunction.java | 44 public interface BiFunction<T, U, R> { interface 68 default <V> BiFunction<T, U, V> andThen(Function<? super R, ? extends V> after) { in andThen()
|
D | BinaryOperator.java | 46 public interface BinaryOperator<T> extends BiFunction<T,T,T> {
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | SSLSocket.java | 32 import java.util.function.BiFunction; 1557 BiFunction<SSLSocket, List<String>, String> selector) { in setHandshakeApplicationProtocolSelector() 1577 public BiFunction<SSLSocket, List<String>, String>
|
D | SSLEngine.java | 31 import java.util.function.BiFunction; 2056 BiFunction<SSLEngine, List<String>, String> selector) { in setHandshakeApplicationProtocolSelector() 2076 public BiFunction<SSLEngine, List<String>, String>
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | WeakCache.java | 32 import java.util.function.BiFunction; 66 private final BiFunction<K, P, ?> subKeyFactory; 67 private final BiFunction<K, P, V> valueFactory; 79 public WeakCache(BiFunction<K, P, ?> subKeyFactory, in WeakCache() 80 BiFunction<K, P, V> valueFactory) { in WeakCache()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/concurrent/ |
D | ConcurrentHashMap.annotated.java | 106 …public void replaceAll(@libcore.util.NonNull java.util.function.BiFunction<? super @libcore.util.N… in replaceAll() 110 …(@libcore.util.NonNull K key, @libcore.util.NonNull java.util.function.BiFunction<? super @libcore… in computeIfPresent() 112 …(@libcore.util.NonNull K key, @libcore.util.NonNull java.util.function.BiFunction<? super @libcore… in compute() 114 …libcore.util.NonNull V value, @libcore.util.NonNull java.util.function.BiFunction<? super @libcore… in merge() 132 …ch(long parallelismThreshold, @libcore.util.NonNull java.util.function.BiFunction<? super @libcore… in forEach() 134 …ch(long parallelismThreshold, @libcore.util.NonNull java.util.function.BiFunction<? super @libcore… in search() 136 …BiFunction<? super @libcore.util.NonNull K,? super @libcore.util.NonNull V,? extends @libcore.util… in reduce() 150 …ys(long parallelismThreshold, @libcore.util.NonNull java.util.function.BiFunction<? super @libcore… in reduceKeys() 152 …util.Nullable U> transformer, @libcore.util.NonNull java.util.function.BiFunction<? super @libcore… in reduceKeys() 166 …es(long parallelismThreshold, @libcore.util.NonNull java.util.function.BiFunction<? super @libcore… in reduceValues() [all …]
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | HashMap.annotated.java | 77 …util.NullFromTypeParam K key, @libcore.util.NonNull java.util.function.BiFunction<? super @libcore… in computeIfPresent() 79 …util.NullFromTypeParam K key, @libcore.util.NonNull java.util.function.BiFunction<? super @libcore… in compute() 81 …libcore.util.NonNull V value, @libcore.util.NonNull java.util.function.BiFunction<? super @libcore… in merge() 85 public void replaceAll(@libcore.util.NonNull java.util.function.BiFunction<? super @libcore.util.Nu… in replaceAll()
|
/libcore/ojluni/annotations/mmodule/java/security/ |
D | Provider.annotated.java | 73 public synchronized void replaceAll(java.util.function.BiFunction<? super java.lang.Object,? super … in replaceAll() 75 public synchronized java.lang.Object compute(java.lang.Object key, java.util.function.BiFunction<? … in compute() 79 ….lang.Object computeIfPresent(java.lang.Object key, java.util.function.BiFunction<? super java.lan… in computeIfPresent() 81 …merge(java.lang.Object key, java.lang.Object value, java.util.function.BiFunction<? super java.lan… in merge()
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLSocketTest.java | 21 import java.util.function.BiFunction; 104 new BiFunction<SSLSocket, List<String>, String>() { in test_Alpn()
|
D | SSLEngineTest.java | 21 import java.util.function.BiFunction; 76 new BiFunction<SSLEngine, List<String>, String>() { in test_Alpn()
|
/libcore/ojluni/src/main/java/java/security/ |
D | Provider.java | 39 import java.util.function.BiFunction; 485 …public synchronized void replaceAll(BiFunction<? super Object, ? super Object, ? extends Object> f… in replaceAll() 514 BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) { in compute() 573 …public synchronized Object computeIfPresent(Object key, BiFunction<? super Object, ? super Object,… in computeIfPresent() 605 …public synchronized Object merge(Object key, Object value, BiFunction<? super Object, ? super Obj… in merge() 793 …private void implReplaceAll(BiFunction<? super Object, ? super Object, ? extends Object> function)… in implReplaceAll() 798 … legacyStrings.replaceAll((BiFunction<? super String, ? super String, ? extends String>) function); in implReplaceAll() 804 …private Object implMerge(Object key, Object value, BiFunction<? super Object, ? super Object, ? ex… in implMerge() 810 … (BiFunction<? super String, ? super String, ? extends String>) remappingFunction); in implMerge() 815 …private Object implCompute(Object key, BiFunction<? super Object, ? super Object, ? extends Object… in implCompute() [all …]
|
/libcore/ojluni/annotations/mmodule/java/util/concurrent/ |
D | CompletableFuture.annotated.java | 88 …util.concurrent.CompletionStage<? extends U> other, java.util.function.BiFunction<? super T,? supe… in thenCombine() 90 …util.concurrent.CompletionStage<? extends U> other, java.util.function.BiFunction<? super T,? supe… in thenCombineAsync() 92 …util.concurrent.CompletionStage<? extends U> other, java.util.function.BiFunction<? super T,? supe… in thenCombineAsync() 136 public <U> java.util.concurrent.CompletableFuture<U> handle(java.util.function.BiFunction<? super T… in handle() 138 public <U> java.util.concurrent.CompletableFuture<U> handleAsync(java.util.function.BiFunction<? su… in handleAsync() 140 public <U> java.util.concurrent.CompletableFuture<U> handleAsync(java.util.function.BiFunction<? su… in handleAsync()
|
/libcore/ojluni/src/test/java/util/Arrays/ |
D | ArraysEqCmpTest.java | 46 import java.util.function.BiFunction; 667 BiFunction<ArrayType<?>, Integer, Object> constructor = (at, s) -> { in testArray() 675 BiFunction<ArrayType<?>, Object, Object> cloner = (at, a) -> in testArray() 693 BiFunction<ArrayType<?>, Integer, Object> canonicalNaNs = (at, s) -> { in testPrimitiveFloatArray() 701 BiFunction<ArrayType<?>, Object, Object> nonCanonicalNaNs = (at, a) -> { in testPrimitiveFloatArray() 710 BiFunction<ArrayType<?>, Object, Object> halfNonCanonicalNaNs = (at, a) -> { in testPrimitiveFloatArray() 728 BiFunction<ArrayType<?>, Object, Object> cloner = ArrayType::copyOf; in testNullElementsInObjectArray() 762 BiFunction<ArrayType<?>, Object, Object> cloner = ArrayType::copyOf; in testSameRefElementsInObjectArray() 802 BiFunction<ArrayType<?>, Integer, Object> constructor = (at, s) -> { in testSignedUnsignedArray() 838 BiFunction<ArrayType<?>, Integer, Object> constructor, in testArrayType() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | Map.java | 29 import java.util.function.BiFunction; 702 default void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) { in replaceAll() 1073 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in computeIfPresent() 1165 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in compute() 1263 BiFunction<? super V, ? super V, ? extends V> remappingFunction) { in merge()
|
/libcore/ojluni/src/test/java/util/Map/ |
D | InPlaceOpsCollisions.java | 26 import java.util.function.BiFunction; 235 BiFunction<T, T, T> mappingFunction) { in testComputeIfPresent() 296 BiFunction<IntKey, IntKey, IntKey> mappingFunction = (k, v) -> { in testComputeNonNull() 336 BiFunction<Object, Object, Object> mappingFunction = (k, v) -> { in testComputeNull() 383 BiFunction<IntKey, IntKey, IntKey> mappingFunction in testMergeNonNull() 419 BiFunction<Object, Object, Object> mappingFunction = (k, v) -> null; in testMergeNull()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/ |
D | Proxy.java | 193 implements java.util.function.BiFunction< 242 implements java.util.function.BiFunction<
|
/libcore/ojluni/annotations/mmodule/java/util/ |
D | LinkedHashMap.annotated.java | 64 public void replaceAll(java.util.function.BiFunction<? super K,? super V,? extends V> function) { t… in replaceAll()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | WeakHashMapTest.java | 41 map.replaceAll(new java.util.function.BiFunction<Data, String, String>() { in test_replaceAll()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Collections.java | 738 private java.util.function.BiFunction<? super K, ? super V, ? extends V> typeCheck( in typeCheck() 739 java.util.function.BiFunction<? super K, ? super V, ? extends V> func) { in typeCheck() 816 java.util.function.BiFunction<? super K, ? super V, ? extends V> function) { in replaceAll() 843 java.util.function.BiFunction<? super K, ? super V, ? extends V> in computeIfPresent() 850 java.util.function.BiFunction<? super K, ? super V, ? extends V> in compute() 858 java.util.function.BiFunction<? super V, ? super V, ? extends V> in merge() 1692 java.util.function.BiFunction<? super K, ? super V, ? extends V> function) { in replaceAll() 1719 java.util.function.BiFunction<? super K, ? super V, ? extends V> in computeIfPresent() 1726 java.util.function.BiFunction<? super K, ? super V, ? extends V> in compute() 1734 java.util.function.BiFunction<? super V, ? super V, ? extends V> in merge() [all …]
|