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

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • P4
    • 8
    • None
    • core-libs

    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

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

              Dates

                Created:
                Updated:
                Resolved: