Module datarush.library
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
AMutableTokenSequence
containing time valued data.- See Also:
TokenTypeConstant#TIME
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
append(TimeOfDay value)
Appends the specified time of day to this sequence.void
append(TimeOfDay value, int count)
Appends the specified time of day to this sequence.void
appendDayMillis(int dayMillis)
Appends the time value specified as the number of milliseconds elapsed since midnight to this sequence.void
appendDayMillis(int dayMillis, int count)
Appends the time value specified as the number of milliseconds elapsed since midnight to this sequence multiple times.TimeSettable
getTokenSetter(int index)
Returns a mutator for the given index.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.-
Methods inherited from interface com.pervasive.datarush.sequences.scalar.MutableScalarTokenSequence
ensureCanonical, getModificationCount
-
Methods inherited from interface com.pervasive.datarush.sequences.MutableTokenSequence
appendNull, appendNull, appendZero, appendZero, fillValue, reset, setNull, setNull, setValue, setValues, setZero, setZero
-
Methods inherited from interface com.pervasive.datarush.sequences.scalar.ScalarTokenSequence
getType, isNull, isZero
-
Methods inherited from interface com.pervasive.datarush.sequences.scalar.TimeTokenSequence
getDayMillis, getTimeOfDay, getToken, getValues, newValueIterator
-
Methods inherited from interface com.pervasive.datarush.sequences.TokenAppendable
append, append, append, append
-
Methods inherited from interface com.pervasive.datarush.sequences.TokenSequence
compareElement, compareElements, getElementComparator, hashCode, isNull, size, toString
-
-
-
-
Method Detail
-
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 interfaceMutableScalarTokenSequence
- Specified by:
getTokenSetter
in interfaceMutableTokenSequence
- Parameters:
index
- the position- Returns:
- a mutator for the given index.
-
-