Uses of Interface
java.util.function.BiFunction
-
Packages that use BiFunction 软件包 描述 java.security 提供安全框架的类和接口。java.util 包含集合框架,一些国际化支持类,一个服务加载器,属性,随机数生成,字符串解析和扫描类,base64编码和解码,一个位数组和几个其他实用程序类。java.util.concurrent 实用程序类通常用于并发编程。java.util.function 功能界面提供了lambda表达式和方法引用的目标类型。java.util.logging 提供Java¢2平台核心日志记录工具的类和接口。java.util.stream 支持元素流功能性操作的类,例如集合上的map-reduce转换。javax.net.ssl 为安全套接字包提供类。jdk.jshell 提供用于创建工具的界面,例如阅读评估打印循环(REPL),它交互地评估Java编程语言代码的“片断”。jdk.jshell.execution 提供构建JShell执行引擎的实现支持。 -
-
Uses of BiFunction in java.security
Methods in java.security with parameters of type BiFunction Modifier and Type 方法 描述 ObjectProvider. compute(Object key, BiFunction<? super Object,? super Object,? extends Object> remappingFunction)尝试计算指定密钥及其当前映射值的映射(如果没有当前映射,则null)。ObjectProvider. computeIfPresent(Object key, BiFunction<? super Object,? super Object,? extends Object> remappingFunction)如果指定的密钥的值存在且非空,则尝试计算给定密钥及其当前映射值的新映射。ObjectProvider. merge(Object key, Object value, BiFunction<? super Object,? super Object,? extends Object> remappingFunction)如果指定的键尚未与值相关联或与null关联,则将其与给定值相关联。voidProvider. replaceAll(BiFunction<? super Object,? super Object,? extends Object> function)用条目集迭代器返回的顺序,直到所有的条目都被处理或函数抛出一个异常,替换每个条目的值,结果是对该条目调用给定的函数。 -
Uses of BiFunction in java.util
Methods in java.util with parameters of type BiFunction Modifier and Type 方法 描述 VHashMap. compute(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)尝试计算指定密钥及其当前映射值的映射(如果没有当前映射,则null)。VHashtable. compute(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)尝试计算指定键的映射及其当前映射的值(如果没有当前映射,null)。default VMap. compute(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)尝试计算指定键的映射及其当前映射值(如果没有当前映射,则null)。ObjectProperties. compute(Object key, BiFunction<? super Object,? super Object,?> remappingFunction)VHashMap. computeIfPresent(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)如果指定的密钥的值存在且非空,则尝试计算给定密钥及其当前映射值的新映射。VHashtable. computeIfPresent(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)如果指定的密钥的值存在且非空,则尝试计算给定密钥及其当前映射值的新映射。default VMap. computeIfPresent(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)如果指定的密钥的值存在且非空,则尝试计算给定密钥及其当前映射值的新映射。ObjectProperties. computeIfPresent(Object key, BiFunction<? super Object,? super Object,?> remappingFunction)VHashMap. merge(K key, V value, BiFunction<? super V,? super V,? extends V> remappingFunction)如果指定的键尚未与值相关联或与null相关联,则将其与给定的非空值相关联。VHashtable. merge(K key, V value, BiFunction<? super V,? super V,? extends V> remappingFunction)如果指定的键尚未与值相关联或与null相关联,则将其与给定的非空值相关联。default VMap. merge(K key, V value, BiFunction<? super V,? super V,? extends V> remappingFunction)如果指定的键尚未与值相关联或与null相关联,则将其与给定的非空值相关联。ObjectProperties. merge(Object key, Object value, BiFunction<? super Object,? super Object,?> remappingFunction)voidHashMap. replaceAll(BiFunction<? super K,? super V,? extends V> function)voidHashtable. replaceAll(BiFunction<? super K,? super V,? extends V> function)voidIdentityHashMap. replaceAll(BiFunction<? super K,? super V,? extends V> function)voidLinkedHashMap. replaceAll(BiFunction<? super K,? super V,? extends V> function)default voidMap. replaceAll(BiFunction<? super K,? super V,? extends V> function)将每个条目的值替换为对该条目调用给定函数的结果,直到所有条目都被处理或该函数抛出异常。voidProperties. replaceAll(BiFunction<? super Object,? super Object,?> function)voidTreeMap. replaceAll(BiFunction<? super K,? super V,? extends V> function)voidWeakHashMap. replaceAll(BiFunction<? super K,? super V,? extends V> function) -
Uses of BiFunction in java.util.concurrent
Methods in java.util.concurrent with parameters of type BiFunction Modifier and Type 方法 描述 VConcurrentHashMap. compute(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)尝试计算指定密钥及其当前映射值的映射(如果没有当前映射,则null)。default VConcurrentMap. compute(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)尝试计算指定密钥及其当前映射值的映射(如果没有当前映射,则null)。VConcurrentSkipListMap. compute(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)尝试计算指定密钥及其当前映射值的映射(如果没有当前映射,则null)。VConcurrentHashMap. computeIfPresent(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)如果存在指定键的值,则尝试计算给出键的新映射及其当前映射值。default VConcurrentMap. computeIfPresent(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)如果指定的密钥的值存在且非空,则尝试计算给定密钥及其当前映射值的新映射。VConcurrentSkipListMap. computeIfPresent(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)如果存在指定键的值,则尝试计算给出键的新映射及其当前映射值。<U> voidConcurrentHashMap. forEach(long parallelismThreshold, BiFunction<? super K,? super V,? extends U> transformer, Consumer<? super U> action)对每个(key,value)的每个非空变换执行给定的动作。<U> CompletableFuture<U>CompletableFuture. handle(BiFunction<? super T,Throwable,? extends U> fn)<U> CompletionStage<U>CompletionStage. handle(BiFunction<? super T,Throwable,? extends U> fn)返回一个新的CompletionStage,当此阶段正常或异常完成时,将使用此阶段的结果和异常作为所提供函数的参数执行。<U> CompletableFuture<U>CompletableFuture. handleAsync(BiFunction<? super T,Throwable,? extends U> fn)<U> CompletableFuture<U>CompletableFuture. handleAsync(BiFunction<? super T,Throwable,? extends U> fn, Executor executor)<U> CompletionStage<U>CompletionStage. handleAsync(BiFunction<? super T,Throwable,? extends U> fn)返回一个新的CompletionStage,当该阶段完成正常或异常时,将使用此阶段的默认异步执行工具执行,此阶段的结果和异常作为提供函数的参数。<U> CompletionStage<U>CompletionStage. handleAsync(BiFunction<? super T,Throwable,? extends U> fn, Executor executor)返回一个新的CompletionStage,当此阶段正常或异常完成时,将使用提供的执行程序执行此阶段的结果和异常作为提供的函数的参数。VConcurrentHashMap. merge(K key, V value, BiFunction<? super V,? super V,? extends V> remappingFunction)如果指定的键尚未与(非空)值相关联,则将其与给定值相关联。default VConcurrentMap. merge(K key, V value, BiFunction<? super V,? super V,? extends V> remappingFunction)如果指定的键尚未与值相关联或与null相关联,则将其与给定的非空值相关联。VConcurrentSkipListMap. merge(K key, V value, BiFunction<? super V,? super V,? extends V> remappingFunction)如果指定的键尚未与值相关联,则将其与给定值相关联。<U> UConcurrentHashMap. reduce(long parallelismThreshold, BiFunction<? super K,? super V,? extends U> transformer, BiFunction<? super U,? super U,? extends U> reducer)返回使用给定的reducer将所有(key,value)对的给定变换累加到组合值的结果,如果没有则返回null。Map.Entry<K,V>ConcurrentHashMap. reduceEntries(long parallelismThreshold, BiFunction<Map.Entry<K,V>,Map.Entry<K,V>,? extends Map.Entry<K,V>> reducer)返回使用给定的reducer累加所有条目的结果,以组合值,如果没有则返回null。<U> UConcurrentHashMap. reduceEntries(long parallelismThreshold, Function<Map.Entry<K,V>,? extends U> transformer, BiFunction<? super U,? super U,? extends U> reducer)返回使用给定的reducer将所有条目的给定变换累加到组合值的结果,否则返回null。KConcurrentHashMap. reduceKeys(long parallelismThreshold, BiFunction<? super K,? super K,? extends K> reducer)返回使用给定的reducer累加所有键的结果,以组合值,如果没有则返回null。<U> UConcurrentHashMap. reduceKeys(long parallelismThreshold, Function<? super K,? extends U> transformer, BiFunction<? super U,? super U,? extends U> reducer)返回使用给定的reducer将所有键的给定变换累加到组合值的结果,否则返回null。VConcurrentHashMap. reduceValues(long parallelismThreshold, BiFunction<? super V,? super V,? extends V> reducer)返回使用给定的reducer累加所有值的结果,以组合值,如果没有则返回null。<U> UConcurrentHashMap. reduceValues(long parallelismThreshold, Function<? super V,? extends U> transformer, BiFunction<? super U,? super U,? extends U> reducer)返回使用给定的reducer累加所有值的给定变换以组合值的结果,否则返回null。voidConcurrentHashMap. replaceAll(BiFunction<? super K,? super V,? extends V> function)default voidConcurrentMap. replaceAll(BiFunction<? super K,? super V,? extends V> function)将每个条目的值替换为对该条目调用给定函数的结果,直到所有条目都被处理或该函数抛出异常。voidConcurrentSkipListMap. replaceAll(BiFunction<? super K,? super V,? extends V> function)<U> UConcurrentHashMap. search(long parallelismThreshold, BiFunction<? super K,? super V,? extends U> searchFunction)通过在每个(键,值)上应用给定的搜索函数返回非空结果,如果没有则返回null。<U,V> CompletableFuture<V>CompletableFuture. thenCombine(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn)<U,V> CompletionStage<V>CompletionStage. thenCombine(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn)返回一个新的CompletionStage,当这个和另一个给定的阶段都正常完成时,两个结果作为提供函数的参数执行。<U,V> CompletableFuture<V>CompletableFuture. thenCombineAsync(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn)<U,V> CompletableFuture<V>CompletableFuture. thenCombineAsync(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn, Executor executor)<U,V> CompletionStage<V>CompletionStage. thenCombineAsync(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn)返回一个新的CompletionStage,当这个和另一个给定的阶段都正常完成时,将使用此阶段的默认异步执行工具执行,其中两个结果作为提供函数的参数。<U,V> CompletionStage<V>CompletionStage. thenCombineAsync(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn, Executor executor)返回一个新的CompletionStage,当这个和另一个给定的阶段都正常完成时,使用提供的执行器执行,其中两个结果作为提供的函数的参数。 -
Uses of BiFunction in java.util.function
Subinterfaces of BiFunction in java.util.function Modifier and Type 接口 描述 interfaceBinaryOperator<T>表示对同一类型的两个操作数的操作,产生与操作数相同类型的结果。Methods in java.util.function that return BiFunction Modifier and Type 方法 描述 default <V> BiFunction<T,U,V>BiFunction. andThen(Function<? super R,? extends V> after)返回一个组合函数,首先将该函数应用于其输入,然后将after函数应用于结果。 -
Uses of BiFunction in java.util.logging
Method parameters in java.util.logging with type arguments of type BiFunction Modifier and Type 方法 描述 voidLogManager. updateConfiguration(InputStream ins, Function<String,BiFunction<String,String,String>> mapper)更新日志记录配置。voidLogManager. updateConfiguration(Function<String,BiFunction<String,String,String>> mapper)更新日志记录配置。 -
Uses of BiFunction in java.util.stream
Methods in java.util.stream with parameters of type BiFunction Modifier and Type 方法 描述 <U> UStream. reduce(U identity, BiFunction<U,? super T,U> accumulator, BinaryOperator<U> combiner)使用提供的身份,积累和组合功能,对此流的元素执行 reduction 。 -
Uses of BiFunction in javax.net.ssl
Methods in javax.net.ssl that return BiFunction Modifier and Type 方法 描述 BiFunction<SSLEngine,List<String>,String>SSLEngine. getHandshakeApplicationProtocolSelector()检索在SSL / TLS / DTLS握手期间选择应用协议值的回调函数。BiFunction<SSLSocket,List<String>,String>SSLSocket. getHandshakeApplicationProtocolSelector()检索在SSL / TLS / DTLS握手期间选择应用协议值的回调函数。Methods in javax.net.ssl with parameters of type BiFunction Modifier and Type 方法 描述 voidSSLEngine. setHandshakeApplicationProtocolSelector(BiFunction<SSLEngine,List<String>,String> selector)注册回调函数,为SSL / TLS / DTLS握手选择应用程序协议值。voidSSLSocket. setHandshakeApplicationProtocolSelector(BiFunction<SSLSocket,List<String>,String> selector)注册回调函数,为SSL / TLS / DTLS握手选择应用程序协议值。 -
Uses of BiFunction in jdk.jshell
Methods in jdk.jshell with parameters of type BiFunction Modifier and Type 方法 描述 JShell.BuilderJShell.Builder. idGenerator(BiFunction<Snippet,Integer,String> generator)设置代码段识别名称的生成器。 -
Uses of BiFunction in jdk.jshell.execution
Methods in jdk.jshell.execution with parameters of type BiFunction Modifier and Type 方法 描述 static ExecutionControlUtil. remoteInputOutput(InputStream input, OutputStream output, Map<String,OutputStream> outputStreamMap, Map<String,InputStream> inputStreamMap, BiFunction<ObjectInput,ObjectOutput,ExecutionControl> factory)为给定的分组化输入和输出创建一个ExecutionControl。
-