Interface NucleusSequence

All Known Implementing Classes:
NucleusSequenceImpl

public interface NucleusSequence
Sequence of values.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    allocate(int amount)
    Method to allocate an amount of values.
    Accessor for the current value object.
    long
    Accessor for the current value.
    Accessor for the name of the sequence.
    Accessor for the next value object.
    long
    Accessor for the next value.
  • Method Details

    • allocate

      void allocate(int amount)
      Method to allocate an amount of values.
      Parameters:
      amount - The amount
    • current

      Object current()
      Accessor for the current value object.
      Returns:
      Current value object
    • currentValue

      long currentValue()
      Accessor for the current value.
      Returns:
      Current value
    • getName

      String getName()
      Accessor for the name of the sequence.
      Returns:
      Name of the sequence
    • next

      Object next()
      Accessor for the next value object.
      Returns:
      Next value object
    • nextValue

      long nextValue()
      Accessor for the next value.
      Returns:
      next value