Searched defs:accumulatorFunction (Results 1 - 11 of 11) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
H A DAtomicReference.java196 * @param accumulatorFunction a side-effect-free function of two arguments
201 BinaryOperator<V> accumulatorFunction) {
205 next = accumulatorFunction.apply(prev, x);
220 * @param accumulatorFunction a side-effect-free function of two arguments
225 BinaryOperator<V> accumulatorFunction) {
229 next = accumulatorFunction.apply(prev, x);
200 getAndAccumulate(V x, BinaryOperator<V> accumulatorFunction) argument
224 accumulateAndGet(V x, BinaryOperator<V> accumulatorFunction) argument
H A DDoubleAccumulator.java88 * @param accumulatorFunction a side-effect-free function of two arguments
91 public DoubleAccumulator(DoubleBinaryOperator accumulatorFunction, argument
93 this.function = accumulatorFunction;
H A DLongAccumulator.java90 * @param accumulatorFunction a side-effect-free function of two arguments
93 public LongAccumulator(LongBinaryOperator accumulatorFunction, argument
95 this.function = accumulatorFunction;
H A DAtomicInteger.java257 * @param accumulatorFunction a side-effect-free function of two arguments
262 IntBinaryOperator accumulatorFunction) {
266 next = accumulatorFunction.applyAsInt(prev, x);
281 * @param accumulatorFunction a side-effect-free function of two arguments
286 IntBinaryOperator accumulatorFunction) {
290 next = accumulatorFunction.applyAsInt(prev, x);
261 getAndAccumulate(int x, IntBinaryOperator accumulatorFunction) argument
285 accumulateAndGet(int x, IntBinaryOperator accumulatorFunction) argument
H A DAtomicIntegerFieldUpdater.java327 * @param accumulatorFunction a side-effect-free function of two arguments
332 IntBinaryOperator accumulatorFunction) {
336 next = accumulatorFunction.applyAsInt(prev, x);
352 * @param accumulatorFunction a side-effect-free function of two arguments
357 IntBinaryOperator accumulatorFunction) {
361 next = accumulatorFunction.applyAsInt(prev, x);
331 getAndAccumulate(T obj, int x, IntBinaryOperator accumulatorFunction) argument
356 accumulateAndGet(T obj, int x, IntBinaryOperator accumulatorFunction) argument
H A DAtomicLong.java273 * @param accumulatorFunction a side-effect-free function of two arguments
278 LongBinaryOperator accumulatorFunction) {
282 next = accumulatorFunction.applyAsLong(prev, x);
297 * @param accumulatorFunction a side-effect-free function of two arguments
302 LongBinaryOperator accumulatorFunction) {
306 next = accumulatorFunction.applyAsLong(prev, x);
277 getAndAccumulate(long x, LongBinaryOperator accumulatorFunction) argument
301 accumulateAndGet(long x, LongBinaryOperator accumulatorFunction) argument
H A DAtomicReferenceArray.java254 * @param accumulatorFunction a side-effect-free function of two arguments
259 BinaryOperator<E> accumulatorFunction) {
264 next = accumulatorFunction.apply(prev, x);
280 * @param accumulatorFunction a side-effect-free function of two arguments
285 BinaryOperator<E> accumulatorFunction) {
290 next = accumulatorFunction.apply(prev, x);
258 getAndAccumulate(int i, E x, BinaryOperator<E> accumulatorFunction) argument
284 accumulateAndGet(int i, E x, BinaryOperator<E> accumulatorFunction) argument
H A DAtomicReferenceFieldUpdater.java247 * @param accumulatorFunction a side-effect-free function of two arguments
252 BinaryOperator<V> accumulatorFunction) {
256 next = accumulatorFunction.apply(prev, x);
272 * @param accumulatorFunction a side-effect-free function of two arguments
277 BinaryOperator<V> accumulatorFunction) {
281 next = accumulatorFunction.apply(prev, x);
251 getAndAccumulate(T obj, V x, BinaryOperator<V> accumulatorFunction) argument
276 accumulateAndGet(T obj, V x, BinaryOperator<V> accumulatorFunction) argument
H A DAtomicIntegerArray.java304 * @param accumulatorFunction a side-effect-free function of two arguments
309 IntBinaryOperator accumulatorFunction) {
314 next = accumulatorFunction.applyAsInt(prev, x);
330 * @param accumulatorFunction a side-effect-free function of two arguments
335 IntBinaryOperator accumulatorFunction) {
340 next = accumulatorFunction.applyAsInt(prev, x);
308 getAndAccumulate(int i, int x, IntBinaryOperator accumulatorFunction) argument
334 accumulateAndGet(int i, int x, IntBinaryOperator accumulatorFunction) argument
H A DAtomicLongArray.java303 * @param accumulatorFunction a side-effect-free function of two arguments
308 LongBinaryOperator accumulatorFunction) {
313 next = accumulatorFunction.applyAsLong(prev, x);
329 * @param accumulatorFunction a side-effect-free function of two arguments
334 LongBinaryOperator accumulatorFunction) {
339 next = accumulatorFunction.applyAsLong(prev, x);
307 getAndAccumulate(int i, long x, LongBinaryOperator accumulatorFunction) argument
333 accumulateAndGet(int i, long x, LongBinaryOperator accumulatorFunction) argument
H A DAtomicLongFieldUpdater.java330 * @param accumulatorFunction a side-effect-free function of two arguments
335 LongBinaryOperator accumulatorFunction) {
339 next = accumulatorFunction.applyAsLong(prev, x);
355 * @param accumulatorFunction a side-effect-free function of two arguments
360 LongBinaryOperator accumulatorFunction) {
364 next = accumulatorFunction.applyAsLong(prev, x);
334 getAndAccumulate(T obj, long x, LongBinaryOperator accumulatorFunction) argument
359 accumulateAndGet(T obj, long x, LongBinaryOperator accumulatorFunction) argument

Completed in 8362 milliseconds