Module datarush.library
Interface MutableCharTokenSequence
-
- All Superinterfaces:
CharSequence
,CharTokenSequence
,MutableScalarTokenSequence
,MutableTokenSequence
,ScalarTokenAppendable
,ScalarTokenSequence
,ScalarTyped
,TokenAppendable
,TokenSequence
,TokenTyped
- All Known Implementing Classes:
CharTokenList
,SparseCharTokenList
public interface MutableCharTokenSequence extends CharTokenSequence, MutableScalarTokenSequence
AMutableTokenSequence
containing character valued data.- See Also:
TokenTypeConstant#CHAR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
append(char value)
Appends the specified character to this sequence.void
append(char value, int count)
Appends the specified character to this sequence multiple times.void
appendChars(CharSequence seq)
Appends the specified character sequence to this sequence.void
appendChars(CharSequence seq, int start, int length)
Appends a subsequence of the specified character sequence to this sequence.CharSettable
getTokenSetter(int index)
Returns a mutator for the given index.void
setChar(int index, char value)
Sets the token at the specified position to the given value.-
Methods inherited from interface java.lang.CharSequence
charAt, chars, codePoints, length, subSequence, toString
-
Methods inherited from interface com.pervasive.datarush.sequences.scalar.CharTokenSequence
getChar, getString, 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(char value)
Appends the specified character to this sequence.- Parameters:
value
- the value to append.
-
append
void append(char value, int count)
Appends the specified character to this sequence multiple times.- Parameters:
value
- the value to append.count
- the number of copies to append.
-
appendChars
void appendChars(CharSequence seq)
Appends the specified character sequence to this sequence.- Parameters:
seq
- the character sequence to append.
-
appendChars
void appendChars(CharSequence seq, int start, int length)
Appends a subsequence of the specified character sequence to this sequence.- Parameters:
seq
- the character sequence to append.start
- the index of the initial character in the subsequencelength
- the length of the subsequence
-
setChar
void setChar(int index, char value)
Sets the token at the specified position to the given value.- Parameters:
index
- the position to modifyvalue
- the new value
-
getTokenSetter
CharSettable 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.
-
-