Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8001632 Umbrella: Library Lambdafication
  3. JDK-8001666

Add lambda-compatible atomics and accumulators to the ActomicXXX classes

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8
    • Component/s: core-libs
    • Labels:

      Description

      Add the following methods to Atomic{Reference,Integer,Long}:
        updateAndGet(XXX, XXXUnaryOperator)
        getAndUpdate(XXX, XXXUnaryOperator)
        getAndAccumulate(XXX, XXXBinaryOperator)
        accumulateAndGet(XXX,XXXBinaryOperator)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chegar Chris Hegarty
                Reporter:
                briangoetz Brian Goetz
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: