Module datarush.library
Interface MutableLongTokenSequence
-
- All Superinterfaces:
DoubleTokenSequence,FloatTokenSequence,LongTokenSequence,MutableScalarTokenSequence,MutableTokenSequence,NumericTokenSequence,ScalarTokenAppendable,ScalarTokenSequence,ScalarTyped,TokenAppendable,TokenSequence,TokenTyped
- All Known Implementing Classes:
LongTokenList,SparseLongTokenList
public interface MutableLongTokenSequence extends LongTokenSequence, MutableScalarTokenSequence
AMutableTokenSequencecontaining long valued data.- See Also:
TokenTypeConstant#LONG
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidappend(long value)Appends the specified long to this sequence.voidappend(long value, int count)Appends the specified long to this sequence multiple times.LongSettablegetTokenSetter(int index)Returns a mutator for the given index.voidsetLong(int index, long value)Sets the token at the specified position to the given value.-
Methods inherited from interface com.pervasive.datarush.sequences.scalar.DoubleTokenSequence
getDouble, getValues
-
Methods inherited from interface com.pervasive.datarush.sequences.scalar.FloatTokenSequence
getFloat, getValues
-
Methods inherited from interface com.pervasive.datarush.sequences.scalar.LongTokenSequence
getLong, getToken, getValues, newValueIterator
-
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.NumericTokenSequence
getBigDecimal, getValues
-
Methods inherited from interface com.pervasive.datarush.sequences.scalar.ScalarTokenSequence
getType, isNull, isZero
-
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
-
append
void append(long value)
Appends the specified long to this sequence.- Parameters:
value- the value to append.
-
append
void append(long value, int count)Appends the specified long to this sequence multiple times.- Parameters:
value- the value to append.count- the number of copies to append.
-
setLong
void setLong(int index, long value)Sets the token at the specified position to the given value.- Parameters:
index- the position to modifyvalue- the new value
-
getTokenSetter
LongSettable getTokenSetter(int index)
Description copied from interface:MutableTokenSequenceReturns a mutator for the given index.- Specified by:
getTokenSetterin interfaceMutableScalarTokenSequence- Specified by:
getTokenSetterin interfaceMutableTokenSequence- Parameters:
index- the position- Returns:
- a mutator for the given index.
-
-