Class PrefixOps.OfUnordLong.MyAtomicLong

java.lang.Object
java.lang.Number
java.util.concurrent.atomic.AtomicLong
one.util.streamex.PrefixOps.OfUnordLong.MyAtomicLong
All Implemented Interfaces:
Serializable
Enclosing class:
PrefixOps.OfUnordLong

private static final class PrefixOps.OfUnordLong.MyAtomicLong extends AtomicLong
  • Field Details

    • init

      private boolean init
  • Constructor Details

    • MyAtomicLong

      private MyAtomicLong()
  • Method Details

    • initialize

      public boolean initialize(long x)
      On the very first call sets the value to x
      Parameters:
      x - the initial value
      Returns:
      true if it was the very first call