O
- the type of Java objects in the sequencepublic interface MutableObjectTokenSequence<O> extends ObjectTokenSequence<O>, MutableScalarTokenSequence
MutableTokenSequence
containing object valued data.TokenTypeConstant#OBJECT(Class)
Modifier and Type | Method and Description |
---|---|
void |
append(O value)
Appends the specified object to this sequence.
|
void |
append(O value,
int count)
Appends the specified object to this sequence
multiple times.
|
ObjectSettable<O> |
getTokenSetter(int index)
Returns a mutator for the given index.
|
void |
setObject(int index,
O value)
Sets the token at the specified position to the given value.
|
getObject, getToken, getType, getValues, newValueIterator
ensureCanonical, getModificationCount
isNull, isZero
appendNull, appendNull, appendZero, appendZero, fillValue, reset, setNull, setNull, setValue, setValues, setZero, setZero
compareElement, compareElements, getElementComparator, hashCode, isNull, size, toString
append, append, append, append
void append(O value)
value
- the value to append. If null
,
this is equivalent to appendNull()
.void append(O value, int count)
value
- the value to append. If null
,
this is equivalent to appendNull(count)
.count
- the number of copies to append.void setObject(int index, O value)
index
- the position to modifyvalue
- the new valueObjectSettable<O> getTokenSetter(int index)
MutableTokenSequence
getTokenSetter
in interface MutableScalarTokenSequence
getTokenSetter
in interface MutableTokenSequence
index
- the positionCopyright © 2021 Actian Corporation. All rights reserved.