Interface MutableBooleanTokenSequence

All Superinterfaces:
BooleanTokenSequence, MutableScalarTokenSequence, MutableTokenSequence, ScalarTokenAppendable, ScalarTokenSequence, ScalarTyped, TokenAppendable, TokenSequence, TokenTyped
All Known Implementing Classes:
BooleanTokenList, SparseBooleanTokenList

public interface MutableBooleanTokenSequence extends BooleanTokenSequence, MutableScalarTokenSequence
A MutableTokenSequence containing boolean valued data.
See Also:
  • TokenTypeConstant#BOOLEAN
  • Method Details

    • append

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

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

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

      BooleanSettable 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.