Interface LongAddable

All Known Implementing Classes:
LongAddables.PureJavaLongAddable, LongAdder

interface LongAddable
Abstract interface for objects that can concurrently add longs.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(long x)
     
    void
     
    long
    sum()
     
  • Method Details

    • increment

      void increment()
    • add

      void add(long x)
    • sum

      long sum()