Add lambda-compatible atomics and accumulators to the ActomicXXX classes

XMLWordPrintable

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

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

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

              Created:
              Updated:
              Resolved: