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 变量和类型 方法 描述 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)如果指定键的值存在且为非null,则尝试在给定键及其当前映射值的情况下计算新映射。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 变量和类型 方法 描述 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)。VHashMap. computeIfPresent(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)如果指定键的值存在且为非null,则尝试在给定键及其当前映射值的情况下计算新映射。VHashtable. computeIfPresent(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)如果指定键的值存在且为非null,则尝试在给定键及其当前映射值的情况下计算新映射。default VMap. computeIfPresent(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)如果指定键的值存在且为非null,则尝试在给定键及其当前映射值的情况下计算新映射。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关联,则将其与给定的非空值关联。default voidMap. 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 变量和类型 方法 描述 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)如果指定键的值存在且为非null,则尝试在给定键及其当前映射值的情况下计算新映射。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)对每个(键,值)的每个非空转换执行给定的操作。<U> CompletionStage<U>CompletionStage. handle(BiFunction<? super T,Throwable,? extends U> fn)返回一个新的CompletionStage,当该阶段正常或异常完成时,将使用此阶段的结果和异常作为所提供函数的参数执行。<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汇总所有(键,值)对的给定转换以组合值的结果,如果没有则返回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。default voidConcurrentMap. replaceAll(BiFunction<? super K,? super V,? extends V> function)将每个条目的值替换为在该条目上调用给定函数的结果,直到所有条目都已处理或函数抛出异常。<U> UConcurrentHashMap. search(long parallelismThreshold, BiFunction<? super K,? super V,? extends U> searchFunction)返回在每个(键,值)上应用给定搜索函数的非null结果,如果没有则返回null。<U,V>
CompletionStage<V>CompletionStage. thenCombine(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)返回一个新的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 变量和类型 接口 描述 interfaceBinaryOperator<T>表示对两个相同类型的操作数的操作,产生与操作数相同类型的结果。Methods in java.util.function that return BiFunction 变量和类型 方法 描述 default <V> BiFunction<T,U,V>BiFunction. andThen(Function<? super R,? extends V> after)返回首先将此函数应用于其输入的after函数,然后将after函数应用于结果。 -
Uses of BiFunction in java.util.logging
Method parameters in java.util.logging with type arguments of type BiFunction 变量和类型 方法 描述 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 变量和类型 方法 描述 <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 变量和类型 方法 描述 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 变量和类型 方法 描述 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 变量和类型 方法 描述 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 变量和类型 方法 描述 static ExecutionControlUtil. remoteInputOutput(InputStream input, OutputStream output, Map<String,OutputStream> outputStreamMap, Map<String,InputStream> inputStreamMap, BiFunction<ObjectInput,ObjectOutput,ExecutionControl> factory)为给定的打包输入和输出创建ExecutionControl。
-