-
- All Known Subinterfaces:
CloseableTokenAppendable
,MutableBinaryTokenSequence
,MutableBooleanTokenSequence
,MutableCharTokenSequence
,MutableDateTokenSequence
,MutableDoubleTokenSequence
,MutableDurationTokenSequence
,MutableFloatTokenSequence
,MutableIntTokenSequence
,MutableIp4AddressTokenSequence
,MutableIp6AddressTokenSequence
,MutableLongTokenSequence
,MutableMoneyTokenSequence
,MutableNumericTokenSequence
,MutableObjectTokenSequence<O>
,MutablePeriodTokenSequence
,MutableRecordTokenSequence
,MutableScalarTokenSequence
,MutableStringTokenSequence
,MutableTimestampTokenSequence
,MutableTimeTokenSequence
,MutableTokenSequence
,RecordOutput
,RecordTokenAppendable
,ScalarTokenAppendable
- All Known Implementing Classes:
AbstractScalarTokenSequence
,BinaryTokenList
,BooleanTokenList
,CharTokenList
,DatasetBuilder
,DateTokenList
,DoubleTokenList
,DurationTokenList
,FloatTokenList
,IntTokenList
,Ip4AddressTokenList
,Ip6AddressTokenList
,LongTokenList
,MoneyTokenList
,NumericTokenList
,ObjectTokenList
,PeriodTokenList
,RecordMap.Builder
,RecordTokenList
,SparseBinaryTokenList
,SparseBooleanTokenList
,SparseCharTokenList
,SparseDateTokenList
,SparseDoubleTokenList
,SparseDurationTokenList
,SparseFloatTokenList
,SparseIntTokenList
,SparseIp4AddressTokenList
,SparseIp6AddressTokenList
,SparseLongTokenList
,SparseMoneyTokenList
,SparseNumericTokenList
,SparseObjectTokenList
,SparsePeriodTokenList
,SparseRecordTokenList
,SparseStringTokenList
,SparseTimestampTokenList
,SparseTimeTokenList
,StringTokenList
,TimestampTokenList
,TimeTokenList
public interface TokenAppendable
A sequence of data tokens to which additional tokens can be appended.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
append(TokenSequence data)
Appends all tokens in the specified sequence to this sequence.void
append(TokenSequence data, int start, int length)
Appends a subsequence of tokens in the specified sequence to this sequence.void
append(TokenValued value)
Appends the specified token value to this sequence.void
append(TokenValued value, long count)
Appends the specified token value to this sequence multiple times.
-
-
-
Method Detail
-
append
void append(TokenValued value)
Appends the specified token value to this sequence.The data types of the sequence and the value must be compatible. If the types are not identical, appropriate coercion will be attempted.
- Parameters:
value
- the token value to append
-
append
void append(TokenValued value, long count)
Appends the specified token value to this sequence multiple times.The data types of the sequence and the value must be compatible. If the types are not identical, appropriate coercion will be attempted.
- Parameters:
value
- the token value to appendcount
- the number of copies to append
-
append
void append(TokenSequence data)
Appends all tokens in the specified sequence to this sequence.The data types of the sequences must be compatible. If not identical, appropriate coercion will be attempted.
- Parameters:
data
- the sequence to append
-
append
void append(TokenSequence data, int start, int length)
Appends a subsequence of tokens in the specified sequence to this sequence.The data types of the sequences must be compatible. If not identical, appropriate coercion will be attempted.
- Parameters:
data
- the sequence containing tokens to appendstart
- the starting index of the subsequence in the sourcelength
- the length of the subsequence
-
-