Module datarush.library
Interface MutableIntTokenSequence
-
- All Superinterfaces:
DoubleTokenSequence
,FloatTokenSequence
,IntTokenSequence
,LongTokenSequence
,MutableScalarTokenSequence
,MutableTokenSequence
,NumericTokenSequence
,ScalarTokenAppendable
,ScalarTokenSequence
,ScalarTyped
,TokenAppendable
,TokenSequence
,TokenTyped
- All Known Implementing Classes:
IntTokenList
,SparseIntTokenList
public interface MutableIntTokenSequence extends IntTokenSequence, MutableScalarTokenSequence
AMutableTokenSequence
containing integer valued data.- See Also:
TokenTypeConstant#INT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
append(int value)
Appends the specified integer to this sequence.void
append(int value, int count)
Appends the specified integer to this sequence multiple times.IntSettable
getTokenSetter(int index)
Returns a mutator for the given index.void
setInt(int index, int 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.IntTokenSequence
getInt, getToken, getValues, newValueIterator
-
Methods inherited from interface com.pervasive.datarush.sequences.scalar.LongTokenSequence
getLong, getValues
-
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(int value)
Appends the specified integer to this sequence.- Parameters:
value
- the value to append.
-
append
void append(int value, int count)
Appends the specified integer to this sequence multiple times.- Parameters:
value
- the value to append.count
- the number of copies to append.
-
setInt
void setInt(int index, int value)
Sets the token at the specified position to the given value.- Parameters:
index
- the position to modifyvalue
- the new value
-
getTokenSetter
IntSettable 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.
-
-