Tuple

A general purpose tuple.

Members

Aliases

opIndex
alias opIndex = getValue

Get an object value at {@code pos}.

Functions

addValue
Tuple addValue(Variant value)

Add an object value at the end of the tuple.

clear
void clear()
Undocumented in source.
getBoolean
bool getBoolean(int pos)

Get a boolean value at {@code pos}.

getBuffer
byte[] getBuffer(int pos)

Get a buffer value at {@code pos}.

getDouble
double getDouble(int pos)

Get a double value at {@code pos}.

getFloat
float getFloat(int pos)

Get a float value at {@code pos}.

getInteger
int getInteger(int pos)

Get an integer value at {@code pos}.

getLong
long getLong(int pos)

Get a long value at {@code pos}.

getShort
short getShort(int pos)

Get a short value at {@code pos}.

getString
string getString(int pos)

Get a string value at {@code pos}.

getValue
Variant getValue(int pos)

Get an object value at {@code pos}.

size
int size()

@return the tuple size

Static functions

of
Tuple of(Args elts)

Create a tuple of an arbitrary number of elements.

tuple
Tuple tuple()

@return a new empty tuple

Meta