Interface MutableStringTokenSequence

All Superinterfaces:
MutableScalarTokenSequence, MutableTokenSequence, ScalarTokenAppendable, ScalarTokenSequence, ScalarTyped, StringTokenSequence, TokenAppendable, TokenSequence, TokenTyped
All Known Implementing Classes:
SparseStringTokenList, StringTokenList

public interface MutableStringTokenSequence extends StringTokenSequence, MutableScalarTokenSequence
A MutableTokenSequence containing string valued data.
See Also:
  • TokenTypeConstant#STRING
  • Method Details

    • append

      void append(String value)
      Appends the specified string to this sequence.
      Parameters:
      value - the value to append. If null, this is equivalent to appendNull().
    • append

      void append(String value, int count)
      Appends the specified string to this sequence multiple times.
      Parameters:
      value - the value to append. If null, this is equivalent to appendNull(count).
      count - the number of copies to append.
    • setString

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

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