Uses of Interface
java.util.function.BiConsumer
-
Packages that use BiConsumer 软件包 描述 java.security 提供安全框架的类和接口。java.util 包含集合框架,一些国际化支持类,一个服务加载器,属性,随机数生成,字符串解析和扫描类,base64编码和解码,一个位数组和几个其他实用程序类。java.util.concurrent 实用程序类通常用于并发编程。java.util.function 功能界面提供了lambda表达式和方法引用的目标类型。java.util.stream 支持元素流功能性操作的类,例如集合上的map-reduce转换。jdk.security.jarsigner -
-
Uses of BiConsumer in java.security
Methods in java.security with parameters of type BiConsumer Modifier and Type 方法 描述 void
Provider. forEach(BiConsumer<? super Object,? super Object> action)
-
Uses of BiConsumer in java.util
Methods in java.util with parameters of type BiConsumer Modifier and Type 方法 描述 void
HashMap. forEach(BiConsumer<? super K,? super V> action)
void
Hashtable. forEach(BiConsumer<? super K,? super V> action)
void
IdentityHashMap. forEach(BiConsumer<? super K,? super V> action)
void
LinkedHashMap. forEach(BiConsumer<? super K,? super V> action)
default void
Map. forEach(BiConsumer<? super K,? super V> action)
对此映射中的每个条目执行给定的操作,直到所有条目都被处理或操作引发异常。void
Properties. forEach(BiConsumer<? super Object,? super Object> action)
void
TreeMap. forEach(BiConsumer<? super K,? super V> action)
void
WeakHashMap. forEach(BiConsumer<? super K,? super V> action)
-
Uses of BiConsumer in java.util.concurrent
Methods in java.util.concurrent with parameters of type BiConsumer Modifier and Type 方法 描述 void
ConcurrentHashMap. forEach(long parallelismThreshold, BiConsumer<? super K,? super V> action)
对每个(键,值)执行给定的动作。void
ConcurrentHashMap. forEach(BiConsumer<? super K,? super V> action)
default void
ConcurrentMap. forEach(BiConsumer<? super K,? super V> action)
对此映射中的每个条目执行给定的操作,直到所有条目都被处理或操作引发异常。void
ConcurrentSkipListMap. forEach(BiConsumer<? super K,? super V> action)
<U> CompletableFuture<Void>
CompletableFuture. thenAcceptBoth(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action)
<U> CompletionStage<Void>
CompletionStage. thenAcceptBoth(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action)
返回一个新的CompletionStage,当这个和另一个给定的阶段都正常完成时,两个结果作为提供的操作的参数被执行。<U> CompletableFuture<Void>
CompletableFuture. thenAcceptBothAsync(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action)
<U> CompletableFuture<Void>
CompletableFuture. thenAcceptBothAsync(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action, Executor executor)
<U> CompletionStage<Void>
CompletionStage. thenAcceptBothAsync(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action)
返回一个新的CompletionStage,当这个和另一个给定阶段都正常完成时,将使用此阶段的默认异步执行工具执行,其中两个结果作为提供的操作的参数。<U> CompletionStage<Void>
CompletionStage. thenAcceptBothAsync(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action, Executor executor)
返回一个新的CompletionStage,当这个和另一个给定的阶段都正常完成时,将使用提供的执行器执行,其中两个结果作为提供的操作的参数。CompletableFuture<T>
CompletableFuture. whenComplete(BiConsumer<? super T,? super Throwable> action)
CompletionStage<T>
CompletionStage. whenComplete(BiConsumer<? super T,? super Throwable> action)
返回与此阶段相同的结果或异常的新CompletionStage,当此阶段完成时,它将执行给定的操作。CompletableFuture<T>
CompletableFuture. whenCompleteAsync(BiConsumer<? super T,? super Throwable> action)
CompletableFuture<T>
CompletableFuture. whenCompleteAsync(BiConsumer<? super T,? super Throwable> action, Executor executor)
CompletionStage<T>
CompletionStage. whenCompleteAsync(BiConsumer<? super T,? super Throwable> action)
返回与此阶段相同结果或异常的新CompletionStage,当此阶段完成时,将使用此阶段的默认异步执行工具执行给定操作。CompletionStage<T>
CompletionStage. whenCompleteAsync(BiConsumer<? super T,? super Throwable> action, Executor executor)
返回与此阶段相同结果或异常的新CompletionStage,当此阶段完成时,使用提供的执行程序执行给定操作。Constructors in java.util.concurrent with parameters of type BiConsumer Constructor 描述 SubmissionPublisher(Executor executor, int maxBufferCapacity, BiConsumer<? super Flow.Subscriber<? super T>,? super Throwable> handler)
使用给定的Executor创建一个新的SubmissionPublisher,为订户提供异步传递,给定每个订户的最大缓冲区大小,如果非空,则在任何订阅者在方法onNext
中引发异常时调用给定的处理程序。 -
Uses of BiConsumer in java.util.function
Methods in java.util.function that return BiConsumer Modifier and Type 方法 描述 default BiConsumer<T,U>
BiConsumer. andThen(BiConsumer<? super T,? super U> after)
返回一个组成的BiConsumer
,依次执行该操作,后跟after
操作。Methods in java.util.function with parameters of type BiConsumer Modifier and Type 方法 描述 default BiConsumer<T,U>
BiConsumer. andThen(BiConsumer<? super T,? super U> after)
返回一个组合的BiConsumer
,依次执行该操作,然后执行after
操作。 -
Uses of BiConsumer in java.util.stream
Methods in java.util.stream that return BiConsumer Modifier and Type 方法 描述 BiConsumer<A,T>
Collector. accumulator()
将值折叠成可变结果容器的函数。Methods in java.util.stream with parameters of type BiConsumer Modifier and Type 方法 描述 <R> R
DoubleStream. collect(Supplier<R> supplier, ObjDoubleConsumer<R> accumulator, BiConsumer<R,R> combiner)
对此流的元素执行 mutable reduction操作。<R> R
IntStream. collect(Supplier<R> supplier, ObjIntConsumer<R> accumulator, BiConsumer<R,R> combiner)
对此流的元素执行 mutable reduction操作。<R> R
LongStream. collect(Supplier<R> supplier, ObjLongConsumer<R> accumulator, BiConsumer<R,R> combiner)
对此流的元素执行 mutable reduction操作。<R> R
Stream. collect(Supplier<R> supplier, BiConsumer<R,? super T> accumulator, BiConsumer<R,R> combiner)
对此流的元素执行 mutable reduction操作。static <T,A,R> Collector<T,A,R>
Collector. of(Supplier<A> supplier, BiConsumer<A,T> accumulator, BinaryOperator<A> combiner, Function<A,R> finisher, Collector.Characteristics... characteristics)
返回一个新Collector
由给定的描述supplier
,accumulator
,combiner
,并finisher
功能。static <T,R> Collector<T,R,R>
Collector. of(Supplier<R> supplier, BiConsumer<R,T> accumulator, BinaryOperator<R> combiner, Collector.Characteristics... characteristics)
返回一个新Collector
由给定的描述supplier
,accumulator
,并combiner
功能。 -
Uses of BiConsumer in jdk.security.jarsigner
Methods in jdk.security.jarsigner with parameters of type BiConsumer Modifier and Type 方法 描述 JarSigner.Builder
JarSigner.Builder. eventHandler(BiConsumer<String,String> handler)
Sets en event handler that will be triggered when aJarEntry
is to be added, signed, or updated during the signing process.
-