Module datarush.library
Interface MutableFloatTokenSequence
-
- All Superinterfaces:
DoubleTokenSequence
,FloatTokenSequence
,MutableScalarTokenSequence
,MutableTokenSequence
,NumericTokenSequence
,ScalarTokenAppendable
,ScalarTokenSequence
,ScalarTyped
,TokenAppendable
,TokenSequence
,TokenTyped
- All Known Implementing Classes:
FloatTokenList
,SparseFloatTokenList
public interface MutableFloatTokenSequence extends FloatTokenSequence, MutableScalarTokenSequence
AMutableTokenSequence
containing float valued data.- See Also:
TokenTypeConstant#FLOAT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
append(float value)
Appends the specified double to this sequence.void
append(float value, int count)
Appends the specified float to this sequence multiple times.FloatSettable
getTokenSetter(int index)
Returns a mutator for the given index.void
setFloat(int index, float 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, 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(float value)
Appends the specified double to this sequence.- Parameters:
value
- the value to append. IfNaN
, this is equivalent toappendNull()
.
-
append
void append(float value, int count)
Appends the specified float to this sequence multiple times.- Parameters:
value
- the value to append. IfNaN
, this is equivalent toappendNull(count)
.count
- the number of copies to append.
-
setFloat
void setFloat(int index, float value)
Sets the token at the specified position to the given value.- Parameters:
index
- the position to modifyvalue
- the new value
-
getTokenSetter
FloatSettable 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.
-
-