Uses of Interface
java.util.function.LongBinaryOperator
-
Packages that use LongBinaryOperator 软件包 描述 java.util 包含集合框架,一些国际化支持类,一个服务加载器,属性,随机数生成,字符串解析和扫描类,base64编码和解码,一个位数组和几个其他实用程序类。java.util.concurrent 实用程序类通常用于并发编程。java.util.concurrent.atomic 一个小型工具包,支持单个变量上的无锁线程安全编程。java.util.stream 支持元素流功能性操作的类,例如集合上的map-reduce转换。 -
-
Uses of LongBinaryOperator in java.util
Methods in java.util with parameters of type LongBinaryOperator Modifier and Type 方法 描述 static voidArrays. parallelPrefix(long[] array, int fromIndex, int toIndex, LongBinaryOperator op)对于数组的给定子范围执行Arrays.parallelPrefix(long[], LongBinaryOperator)。static voidArrays. parallelPrefix(long[] array, LongBinaryOperator op)使用提供的功能,并行地计算给定阵列的每个元素。 -
Uses of LongBinaryOperator in java.util.concurrent
Methods in java.util.concurrent with parameters of type LongBinaryOperator Modifier and Type 方法 描述 longConcurrentHashMap. reduceEntriesToLong(long parallelismThreshold, ToLongFunction<Map.Entry<K,V>> transformer, long basis, LongBinaryOperator reducer)返回使用给定的reducer累加给定变换的结果,以组合值,给定基础作为一个标识值。longConcurrentHashMap. reduceKeysToLong(long parallelismThreshold, ToLongFunction<? super K> transformer, long basis, LongBinaryOperator reducer)返回使用给定的reducer累加所有键的给定变换的结果,以组合值,给定基础作为标识值。longConcurrentHashMap. reduceToLong(long parallelismThreshold, ToLongBiFunction<? super K,? super V> transformer, long basis, LongBinaryOperator reducer)返回使用给定的reducer将所有(key,value)对的给定变换累加到结合值的结果,给定基础作为标识值。longConcurrentHashMap. reduceValuesToLong(long parallelismThreshold, ToLongFunction<? super V> transformer, long basis, LongBinaryOperator reducer)返回使用给定的reducer累加所有值的给定变换的结果,以组合值,给定基础作为标识值。 -
Uses of LongBinaryOperator in java.util.concurrent.atomic
Methods in java.util.concurrent.atomic with parameters of type LongBinaryOperator Modifier and Type 方法 描述 longAtomicLong. accumulateAndGet(long x, LongBinaryOperator accumulatorFunction)将当前值与给定函数应用于当前值和给定值进行原子更新(具有VarHandle.compareAndSet(java.lang.Object...)指定的内存效应),返回更新后的值。longAtomicLongArray. accumulateAndGet(int i, long x, LongBinaryOperator accumulatorFunction)原子更新(具有VarHandle.compareAndSet(java.lang.Object...)指定的内存效果)索引号为i的元素,并将给定的函数应用于当前值和给定值,返回更新后的值。longAtomicLongFieldUpdater. accumulateAndGet(T obj, long x, LongBinaryOperator accumulatorFunction)原始更新(具有VarHandle.compareAndSet(java.lang.Object...)指定的内存效果)由此更新程序管理的给定对象的字段,并将给定函数应用于当前值和给定值,返回更新后的值。longAtomicLong. getAndAccumulate(long x, LongBinaryOperator accumulatorFunction)将当前值与给定函数应用于当前值和给定值进行原子更新(具有VarHandle.compareAndSet(java.lang.Object...)指定的存储器效应),返回上一个值。longAtomicLongArray. getAndAccumulate(int i, long x, LongBinaryOperator accumulatorFunction)原始更新(具有VarHandle.compareAndSet(java.lang.Object...)指定的内存效果)索引号为i的元素,并将给定函数应用于当前值和给定值,返回上一个值。longAtomicLongFieldUpdater. getAndAccumulate(T obj, long x, LongBinaryOperator accumulatorFunction)原始更新(由VarHandle.compareAndSet(java.lang.Object...)指定的内存效果)由此更新程序管理的给定对象的字段,并将给定函数应用于当前值和给定值,返回上一个值。Constructors in java.util.concurrent.atomic with parameters of type LongBinaryOperator Constructor 描述 LongAccumulator(LongBinaryOperator accumulatorFunction, long identity)使用给定的累加器函数和identity元素创建一个新的实例。 -
Uses of LongBinaryOperator in java.util.stream
Methods in java.util.stream with parameters of type LongBinaryOperator Modifier and Type 方法 描述 longLongStream. reduce(long identity, LongBinaryOperator op)使用提供的身份值和 associative累积函数对此流的元素执行 reduction ,并返回减小的值。OptionalLongLongStream. reduce(LongBinaryOperator op)Performs a reduction on the elements of this stream, using an associative accumulation function, and returns anOptionalLongdescribing the reduced value, if any.
-