Uses of Interface
java.util.function.DoubleConsumer
-
Packages that use DoubleConsumer 软件包 描述 java.util 包含集合框架,一些国际化支持类,一个服务加载器,属性,随机数生成,字符串解析和扫描类,base64编码和解码,一个位数组和几个其他实用程序类。java.util.function 功能界面提供了lambda表达式和方法引用的目标类型。java.util.stream 支持元素流功能性操作的类,例如集合上的map-reduce转换。 -
-
Uses of DoubleConsumer in java.util
Classes in java.util that implement DoubleConsumer Modifier and Type Class 描述 class
DoubleSummaryStatistics
统计数据的收集状态,如count,min,max,sum和average。Methods in java.util with parameters of type DoubleConsumer Modifier and Type 方法 描述 default void
PrimitiveIterator.OfDouble. forEachRemaining(DoubleConsumer action)
对每个剩余元素执行给定的操作,直到所有元素都被处理或动作引发异常。default void
Spliterator.OfDouble. forEachRemaining(DoubleConsumer action)
void
OptionalDouble. ifPresent(DoubleConsumer action)
如果存在值,则使用该值执行给定的操作,否则不执行任何操作。void
OptionalDouble. ifPresentOrElse(DoubleConsumer action, Runnable emptyAction)
如果存在值,则使用该值执行给定的操作,否则执行给定的基于空的操作。boolean
Spliterator.OfDouble. tryAdvance(DoubleConsumer action)
-
Uses of DoubleConsumer in java.util.function
Methods in java.util.function that return DoubleConsumer Modifier and Type 方法 描述 default DoubleConsumer
DoubleConsumer. andThen(DoubleConsumer after)
返回一个组成的DoubleConsumer
,依次执行此操作,然后执行after
操作。Methods in java.util.function with parameters of type DoubleConsumer Modifier and Type 方法 描述 default DoubleConsumer
DoubleConsumer. andThen(DoubleConsumer after)
返回一个组成的DoubleConsumer
,依次执行此操作,然后执行after
操作。 -
Uses of DoubleConsumer in java.util.stream
Subinterfaces of DoubleConsumer in java.util.stream Modifier and Type 接口 描述 static interface
DoubleStream.Builder
一个可变的构建器,用于DoubleStream
。Methods in java.util.stream with parameters of type DoubleConsumer Modifier and Type 方法 描述 void
DoubleStream. forEach(DoubleConsumer action)
对此流的每个元素执行操作。void
DoubleStream. forEachOrdered(DoubleConsumer action)
对此流的每个元素执行一个操作,保证每个元素按遇到顺序处理,以便具有定义的遇到顺序的流。DoubleStream
DoubleStream. peek(DoubleConsumer action)
Returns a stream consisting of the elements of this stream, additionally performing the provided action on each element as elements are consumed from the resulting stream.
-