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
public interface MutableMoneyTokenSequence extends MoneyTokenSequence, MutableScalarTokenSequence
AMutableTokenSequence
containing money valued data.- See Also:
TokenTypeConstant#MONEY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
append(long value)
Appends the specified long to this sequence.void
append(long value, int count)
Appends the specified long to this sequence multiple times.MoneySettable
getTokenSetter(int index)
Returns a mutator for the given index.void
setCents(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, getValues
-
Methods inherited from interface com.pervasive.datarush.sequences.scalar.FloatTokenSequence
getFloat, getValues
-
Methods inherited from interface com.pervasive.datarush.sequences.scalar.MoneyTokenSequence
getCents, 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.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(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
MoneySettable 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.
-
-