public class Tuple extends Object
| Constructor and Description |
|---|
Tuple(int size) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Tuple |
fromStruct(Object struct) |
Object |
get(int index) |
int |
hashCode() |
static Tuple |
of(Object... values)
Create a tuple from its values.
|
<T> void |
set(int index,
T value) |
int |
size() |
String |
toString() |
public static Tuple of(Object... values)
Expose it as a static method to avoid conflicts with Tuple(size).
values - the valuespublic static Tuple fromStruct(Object struct) throws QiConversionException
QiConversionExceptionpublic int size()
public Object get(int index)
public <T> void set(int index,
T value)
Copyright © 2020. All rights reserved.