Interface MutableFloatTokenSequence

All Superinterfaces:
DoubleTokenSequence, FloatTokenSequence, MutableScalarTokenSequence, MutableTokenSequence, NumericTokenSequence, ScalarTokenAppendable, ScalarTokenSequence, ScalarTyped, TokenAppendable, TokenSequence, TokenTyped
All Known Implementing Classes:
FloatTokenList, SparseFloatTokenList

public interface MutableFloatTokenSequence extends FloatTokenSequence, MutableScalarTokenSequence
A MutableTokenSequence containing float valued data.
See Also:
  • TokenTypeConstant#FLOAT
  • Method Details

    • append

      void append(float value)
      Appends the specified double to this sequence.
      Parameters:
      value - the value to append. If NaN, this is equivalent to appendNull().
    • append

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

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

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