| Package | Description |
|---|---|
| org.jsimpledb.tuple |
Generic typed classes holding ordered "tuples" of objects.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Tuple1<V1>
A "tuple" of one value.
|
class |
Tuple2<V1,V2>
A tuple of two values.
|
class |
Tuple3<V1,V2,V3>
A tuple of three values.
|
class |
Tuple4<V1,V2,V3,V4>
A tuple of four values.
|
class |
Tuple5<V1,V2,V3,V4,V5>
A tuple of five values.
|
| Modifier and Type | Method and Description |
|---|---|
static Tuple |
Tuples.createTuple(Iterable<?> values)
Create a
Tuple of the appropriate cardinality for the given number of objects. |
static Tuple |
Tuples.createTuple(Object... values)
Create a
Tuple of the appropriate cardinality for the given number of objects. |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends Tuple> |
Tuples.tupleClassForSize(int size)
Get the
Tuple subinterface having the specified cardinality. |
| Modifier and Type | Method and Description |
|---|---|
static int |
Tuples.tupleSizeOf(Class<? extends Tuple> tupleClass)
Get the cardinality of the given
Tuple subtype. |
Copyright © 2016. All rights reserved.