Module datarush.library
Interface MutableBooleanTokenSequence
-
- All Superinterfaces:
BooleanTokenSequence
,MutableScalarTokenSequence
,MutableTokenSequence
,ScalarTokenAppendable
,ScalarTokenSequence
,ScalarTyped
,TokenAppendable
,TokenSequence
,TokenTyped
- All Known Implementing Classes:
BooleanTokenList
,SparseBooleanTokenList
public interface MutableBooleanTokenSequence extends BooleanTokenSequence, MutableScalarTokenSequence
AMutableTokenSequence
containing boolean valued data.- See Also:
TokenTypeConstant#BOOLEAN
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
append(boolean value)
Appends the specified boolean to this sequence.void
append(boolean value, int count)
Appends the specified boolean to this sequence multiple times.BooleanSettable
getTokenSetter(int index)
Returns a mutator for the given index.void
set(int index, boolean value)
Sets the token at the specified position to the given value.-
Methods inherited from interface com.pervasive.datarush.sequences.scalar.BooleanTokenSequence
getBoolean, 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.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(boolean value)
Appends the specified boolean to this sequence.- Parameters:
value
- the value to append.
-
append
void append(boolean value, int count)
Appends the specified boolean to this sequence multiple times.- Parameters:
value
- the value to append.count
- the number of copies to append.
-
set
void set(int index, boolean value)
Sets the token at the specified position to the given value.- Parameters:
index
- the position to modifyvalue
- the new value
-
getTokenSetter
BooleanSettable 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.
-
-