Interface MutableTimeTokenSequence

All Superinterfaces:
MutableScalarTokenSequence, MutableTokenSequence, ScalarTokenAppendable, ScalarTokenSequence, ScalarTyped, TimeTokenSequence, TokenAppendable, TokenSequence, TokenTyped
All Known Implementing Classes:
SparseTimeTokenList, TimeTokenList

public interface MutableTimeTokenSequence extends TimeTokenSequence, MutableScalarTokenSequence
A MutableTokenSequence containing time valued data.
See Also:
  • TokenTypeConstant#TIME
  • Method Details

    • appendDayMillis

      void appendDayMillis(int dayMillis)
      Appends the time value specified as the number of milliseconds elapsed since midnight to this sequence.
      Parameters:
      dayMillis - time value to which to set the token, expressed as the number of milliseconds elapsed since midnight
    • append

      void append(TimeOfDay value)
      Appends the specified time of day to this sequence.
      Parameters:
      value - the value to append.
    • appendDayMillis

      void appendDayMillis(int dayMillis, int count)
      Appends the time value specified as the number of milliseconds elapsed since midnight to this sequence multiple times.
      Parameters:
      dayMillis - the value to append.
      count - the number of copies to append.
    • append

      void append(TimeOfDay value, int count)
      Appends the specified time of day to this sequence.
      Parameters:
      value - the value to append.
      count - the number of copies to append.
    • setDayMillis

      void setDayMillis(int index, int value)
      Sets the token at the specified position to a time value specified as the number of milliseconds elapsed since midnight.
      Parameters:
      millis - time value to which to set the token, expressed as the number of milliseconds elapsed since midnight
    • getTokenSetter

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