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
|
String |
strAt(int i) |
List<?> |
toList()
Return this tuple as a List.
|
String |
toString() |
public static Tuple of(int n)
public Tuple parse(List<?> seq) throws IllegalArgumentException
IllegalArgumentException
- if seq and this differ in lengthpublic Tuple parse(Object obj) throws IllegalArgumentException
IllegalArgumentException
- if obj cannot be parsed to a Tuplepublic Object at(int i)
public String strAt(int i)
public String toString()
public List<?> toList()
public boolean isNull()
Copyright © 1996–2022 Geotools. All rights reserved.