public class TokenSequences extends Object
Modifier and Type | Method and Description |
---|---|
static MutableScalarTokenSequence |
allocateList(ScalarTokenType type,
int initialCapacity)
Creates a
MutableTokenSequence for tokens of the specified scalar type. |
static MutableScalarTokenSequence |
allocateList(ScalarTokenType type,
int initialCapacity,
DataRepresentation representation)
Creates a
MutableTokenSequence for tokens of the specified scalar type. |
static MutableTokenSequence |
allocateList(TokenType type,
int initialCapacity)
Creates a
MutableTokenSequence for tokens of the specified type. |
static MutableTokenSequence |
allocateList(TokenType type,
int initialCapacity,
DataRepresentation representation)
Creates a
MutableTokenSequence for tokens of the specified type. |
static MutableBinaryTokenSequence |
binaryList(int capacity,
DataRepresentation representation)
Creates a
MutableBinaryTokenSequence with the specified capacity, optionally
optimized for sparse data. |
static MutableBooleanTokenSequence |
booleanList(int capacity,
DataRepresentation representation)
Creates a
MutableBooleanTokenSequence with the specified capacity, optionally
optimized for sparse data. |
static MutableCharTokenSequence |
charList(int capacity,
DataRepresentation representation)
Creates a
MutableCharTokenSequence with the specified capacity, optionally
optimized for sparse data. |
static MutableDateTokenSequence |
dateList(int capacity,
DataRepresentation representation)
Creates a
MutableDateTokenSequence with the specified capacity, optionally
optimized for sparse data. |
static MutableDoubleTokenSequence |
doubleList(int capacity,
DataRepresentation representation)
Creates a
MutableDoubleTokenSequence with the specified capacity, optionally
optimized for sparse data. |
static MutableDurationTokenSequence |
durationList(int capacity,
DataRepresentation representation)
Creates a
MutableDurationTokenSequence with the specified capacity, optionally
optimized for sparse data. |
static MutableFloatTokenSequence |
floatList(int capacity,
DataRepresentation representation)
Creates a
MutableFloatTokenSequence with the specified capacity, optionally
optimized for sparse data. |
static MutableIntTokenSequence |
intList(int capacity,
DataRepresentation representation)
Creates a
MutableIntTokenSequence with the specified capacity, optionally
optimized for sparse data. |
static MutableIp4AddressTokenSequence |
ip4AddressList(int capacity,
DataRepresentation representation)
Creates a
MutableIp4AddressTokenSequence with the specified capacity, optionally
optimized for sparse data. |
static MutableIp6AddressTokenSequence |
ip6AddressList(int capacity,
DataRepresentation representation)
Creates a
MutableIp6AddressTokenSequence with the specified capacity, optionally
optimized for sparse data. |
static MutableLongTokenSequence |
longList(int capacity,
DataRepresentation representation)
Creates a
MutableLongTokenSequence with the specified capacity, optionally
optimized for sparse data. |
static MutableMoneyTokenSequence |
moneyList(int capacity,
DataRepresentation representation)
Creates a
MutableMoneyTokenSequence with the specified capacity, optionally
optimized for sparse data. |
static MutableNumericTokenSequence |
numericList(int capacity,
DataRepresentation representation)
Creates a
MutableNumericTokenSequence with the specified capacity, optionally
optimized for sparse data. |
static <O> MutableObjectTokenSequence<O> |
objectList(ObjectTokenType<O> type,
int capacity,
DataRepresentation representation)
Creates a
MutableObjectTokenSequence with the specified capacity, optionally
optimized for sparse data. |
static MutablePeriodTokenSequence |
periodList(int capacity,
DataRepresentation representation)
Creates a
MutablePeriodTokenSequence with the specified capacity, optionally
optimized for sparse data. |
static MutableRecordTokenSequence |
recordList(RecordTokenType type,
int capacity,
DataRepresentation representation)
Creates a
MutableRecordTokenSequence with the specified capacity, optionally
optimized for sparse data. |
static MutableStringTokenSequence |
stringList(int capacity,
DataRepresentation representation)
Creates a
MutableStringTokenSequence with the specified capacity, optionally
optimized for sparse data. |
static MutableTimeTokenSequence |
timeList(int capacity,
DataRepresentation representation)
Creates a
MutableTimeTokenSequence with the specified capacity, optionally
optimized for sparse data. |
static MutableTimestampTokenSequence |
timestampList(int capacity,
DataRepresentation representation)
Creates a
MutableTimestampTokenSequence with the specified capacity, optionally
optimized for sparse data. |
public static MutableBinaryTokenSequence binaryList(int capacity, DataRepresentation representation)
MutableBinaryTokenSequence
with the specified capacity, optionally
optimized for sparse data.capacity
- the initial capacityrepresentation
- the data representationpublic static MutableBooleanTokenSequence booleanList(int capacity, DataRepresentation representation)
MutableBooleanTokenSequence
with the specified capacity, optionally
optimized for sparse data.capacity
- the initial capacityrepresentation
- the data representationpublic static MutableCharTokenSequence charList(int capacity, DataRepresentation representation)
MutableCharTokenSequence
with the specified capacity, optionally
optimized for sparse data.capacity
- the initial capacityrepresentation
- the data representationpublic static MutableDurationTokenSequence durationList(int capacity, DataRepresentation representation)
MutableDurationTokenSequence
with the specified capacity, optionally
optimized for sparse data.capacity
- the initial capacityrepresentation
- the data representationpublic static MutableDateTokenSequence dateList(int capacity, DataRepresentation representation)
MutableDateTokenSequence
with the specified capacity, optionally
optimized for sparse data.capacity
- the initial capacityrepresentation
- the data representationpublic static MutableDoubleTokenSequence doubleList(int capacity, DataRepresentation representation)
MutableDoubleTokenSequence
with the specified capacity, optionally
optimized for sparse data.capacity
- the initial capacityrepresentation
- the data representationpublic static MutableFloatTokenSequence floatList(int capacity, DataRepresentation representation)
MutableFloatTokenSequence
with the specified capacity, optionally
optimized for sparse data.capacity
- the initial capacityrepresentation
- the data representationpublic static MutableIntTokenSequence intList(int capacity, DataRepresentation representation)
MutableIntTokenSequence
with the specified capacity, optionally
optimized for sparse data.capacity
- the initial capacityrepresentation
- the data representationpublic static MutableIp4AddressTokenSequence ip4AddressList(int capacity, DataRepresentation representation)
MutableIp4AddressTokenSequence
with the specified capacity, optionally
optimized for sparse data.capacity
- the initial capacityrepresentation
- the data representationpublic static MutableIp6AddressTokenSequence ip6AddressList(int capacity, DataRepresentation representation)
MutableIp6AddressTokenSequence
with the specified capacity, optionally
optimized for sparse data.capacity
- the initial capacityrepresentation
- the data representationpublic static MutableLongTokenSequence longList(int capacity, DataRepresentation representation)
MutableLongTokenSequence
with the specified capacity, optionally
optimized for sparse data.capacity
- the initial capacityrepresentation
- the data representationpublic static MutableMoneyTokenSequence moneyList(int capacity, DataRepresentation representation)
MutableMoneyTokenSequence
with the specified capacity, optionally
optimized for sparse data.capacity
- the initial capacityrepresentation
- the data representationpublic static MutableNumericTokenSequence numericList(int capacity, DataRepresentation representation)
MutableNumericTokenSequence
with the specified capacity, optionally
optimized for sparse data.capacity
- the initial capacityrepresentation
- the data representationpublic static <O> MutableObjectTokenSequence<O> objectList(ObjectTokenType<O> type, int capacity, DataRepresentation representation)
MutableObjectTokenSequence
with the specified capacity, optionally
optimized for sparse data.O
- the type of the elements of the sequencetype
- the object typecapacity
- the initial capacityrepresentation
- the data representationpublic static MutablePeriodTokenSequence periodList(int capacity, DataRepresentation representation)
MutablePeriodTokenSequence
with the specified capacity, optionally
optimized for sparse data.capacity
- the initial capacityrepresentation
- the data representationpublic static MutableStringTokenSequence stringList(int capacity, DataRepresentation representation)
MutableStringTokenSequence
with the specified capacity, optionally
optimized for sparse data.capacity
- the initial capacityrepresentation
- the data representationpublic static MutableTimeTokenSequence timeList(int capacity, DataRepresentation representation)
MutableTimeTokenSequence
with the specified capacity, optionally
optimized for sparse data.capacity
- the initial capacityrepresentation
- the data representationpublic static MutableTimestampTokenSequence timestampList(int capacity, DataRepresentation representation)
MutableTimestampTokenSequence
with the specified capacity, optionally
optimized for sparse data.capacity
- the initial capacityrepresentation
- the data representationpublic static MutableRecordTokenSequence recordList(RecordTokenType type, int capacity, DataRepresentation representation)
MutableRecordTokenSequence
with the specified capacity, optionally
optimized for sparse data.type
- the record typecapacity
- the initial capacityrepresentation
- the data representationpublic static MutableTokenSequence allocateList(TokenType type, int initialCapacity)
MutableTokenSequence
for tokens of the specified type.type
- the data type of tokens in the arrayinitialCapacity
- the initial capacity of the arrayTokenArray
of the appropriate typepublic static MutableScalarTokenSequence allocateList(ScalarTokenType type, int initialCapacity)
MutableTokenSequence
for tokens of the specified scalar type.type
- the data type of tokens in the arrayinitialCapacity
- the initial capacity of the arrayTokenArray
of the appropriate typepublic static MutableTokenSequence allocateList(TokenType type, int initialCapacity, DataRepresentation representation)
MutableTokenSequence
for tokens of the specified type.type
- the data type of tokens in the arrayinitialCapacity
- the initial capacity of the arrayrepresentation
- the data representationTokenArray
of the appropriate typepublic static MutableScalarTokenSequence allocateList(ScalarTokenType type, int initialCapacity, DataRepresentation representation)
MutableTokenSequence
for tokens of the specified scalar type.type
- the data type of tokens in the arrayinitialCapacity
- the initial capacity of the arrayrepresentation
- the data representationTokenArray
of the appropriate typeCopyright © 2024 Actian Corporation. All rights reserved.