Class MutableLong

java.lang.Object
org.pkl.core.util.MutableLong

public final class MutableLong extends Object
A mutable long in a box. If you need a thread-safe box, use AtomicLong instead.
  • Constructor Details

    • MutableLong

      public MutableLong(long value)
  • Method Details

    • get

      public long get()
    • set

      public void set(long value)
    • getAndIncrement

      public long getAndIncrement()