Interface MutableLongTokenSequence

All Superinterfaces:
DoubleTokenSequence, FloatTokenSequence, LongTokenSequence, MutableScalarTokenSequence, MutableTokenSequence, NumericTokenSequence, ScalarTokenAppendable, ScalarTokenSequence, ScalarTyped, TokenAppendable, TokenSequence, TokenTyped
All Known Implementing Classes:
LongTokenList, SparseLongTokenList

public interface MutableLongTokenSequence extends LongTokenSequence, MutableScalarTokenSequence
A MutableTokenSequence containing long valued data.
See Also:
  • TokenTypeConstant#LONG
  • Method Details

    • append

      void append(long value)
      Appends the specified long to this sequence.
      Parameters:
      value - the value to append.
    • append

      void append(long value, int count)
      Appends the specified long to this sequence multiple times.
      Parameters:
      value - the value to append.
      count - the number of copies to append.
    • setLong

      void setLong(int index, long value)
      Sets the token at the specified position to the given value.
      Parameters:
      index - the position to modify
      value - the new value
    • getTokenSetter

      LongSettable getTokenSetter(int index)
      Description copied from interface: MutableTokenSequence
      Returns a mutator for the given index.
      Specified by:
      getTokenSetter in interface MutableScalarTokenSequence
      Specified by:
      getTokenSetter in interface MutableTokenSequence
      Parameters:
      index - the position
      Returns:
      a mutator for the given index.