public class ValueTuple extends Object
| Modifier and Type | Field and Description |
|---|---|
static Comparator<ValueTuple> |
COMPARATOR |
| Modifier | Constructor and Description |
|---|---|
protected |
ValueTuple(Value[] values) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Value |
getOnlyValue() |
Value[] |
getValues()
WARNING: this method does not create a defensive copy.
|
int |
hashCode() |
static ValueTuple |
of(Object... objects) |
static ValueTuple |
of(Value... values) |
int |
size() |
String |
toString() |
Value |
valueAt(int offset) |
public static final Comparator<ValueTuple> COMPARATOR
protected ValueTuple(Value[] values)
public static ValueTuple of(Value... values)
public static ValueTuple of(Object... objects)
public int size()
public Value valueAt(int offset)
public Value[] getValues()
public Value getOnlyValue()
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.