Module datarush.library
Interface MutableMoneyTokenSequence
- All Superinterfaces:
DoubleTokenSequence,FloatTokenSequence,MoneyTokenSequence,MutableScalarTokenSequence,MutableTokenSequence,NumericTokenSequence,ScalarTokenAppendable,ScalarTokenSequence,ScalarTyped,TokenAppendable,TokenSequence,TokenTyped
- All Known Implementing Classes:
MoneyTokenList,SparseMoneyTokenList
A
MutableTokenSequence containing money valued data.- See Also:
-
TokenTypeConstant#MONEY
-
Method Summary
Modifier and TypeMethodDescriptionvoidappend(long value) Appends the specified long to this sequence.voidappend(long value, int count) Appends the specified long to this sequence multiple times.getTokenSetter(int index) Returns a mutator for the given index.voidsetCents(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, getValuesMethods inherited from interface com.pervasive.datarush.sequences.scalar.FloatTokenSequence
getFloat, getValuesMethods inherited from interface com.pervasive.datarush.sequences.scalar.MoneyTokenSequence
getCents, getToken, getValues, newValueIteratorMethods inherited from interface com.pervasive.datarush.sequences.scalar.MutableScalarTokenSequence
ensureCanonical, getModificationCountMethods inherited from interface com.pervasive.datarush.sequences.MutableTokenSequence
appendNull, appendNull, appendZero, appendZero, fillValue, reset, setNull, setNull, setValue, setValues, setZero, setZeroMethods inherited from interface com.pervasive.datarush.sequences.scalar.NumericTokenSequence
getBigDecimal, getValuesMethods inherited from interface com.pervasive.datarush.sequences.scalar.ScalarTokenSequence
getType, isNull, isZeroMethods inherited from interface com.pervasive.datarush.sequences.TokenAppendable
append, append, append, appendMethods inherited from interface com.pervasive.datarush.sequences.TokenSequence
compareElement, compareElements, getElementComparator, hashCode, isNull, size, toString
-
Method Details
-
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.
-
setCents
void setCents(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
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.
-