Class AtomicLongSequence

  • All Implemented Interfaces:
    LongSequence

    public class AtomicLongSequence
    extends java.lang.Object
    implements LongSequence
    Simple non-persistent implementation of LongSequence
    Author:
    twu
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long next()
      Get the next value in the sequence
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AtomicLongSequence

        public AtomicLongSequence()
    • Method Detail

      • next

        public long next()
        Description copied from interface: LongSequence
        Get the next value in the sequence
        Specified by:
        next in interface LongSequence
        Returns:
        the next value