public class Tuple extends Object
| Modifier and Type | Method and Description |
|---|---|
Object |
at(int i) |
boolean |
isNull() |
static Tuple |
of(int n)
Returns an empty tuple of length n.
|
static Tuple |
of(Object... values)
Return a tuple comprised of the passed values
|
Tuple |
parse(List<?> seq)
Parse the values of seq and write them to this Tuple
|
Tuple |
parse(Object obj)
Parse an object to this Tuple
|
Tuple |
parse(String str)
Deprecated.
|
String |
strAt(int i) |
List<?> |
toList()
Return this tuple as a List.
|
String |
toString() |
public static Tuple of(Object... values)
values - public static Tuple of(int n)
n - @Deprecated public Tuple parse(String str) throws IllegalArgumentException
IllegalArgumentExceptionpublic Tuple parse(List<?> seq) throws IllegalArgumentException
seq - IllegalArgumentException - if seq and this differ in lengthpublic Tuple parse(Object obj) throws IllegalArgumentException
obj - IllegalArgumentException - if obj cannot be parsed to a Tuplepublic Object at(int i)
i - public String strAt(int i)
i - public String toString()
public List<?> toList()
public boolean isNull()
Copyright © 1996–2019 Geotools. All rights reserved.