Package org.geotools.ysld
Class Tuple
Object
Tuple
Ysld Tuple implementation.
-
Method Summary
Modifier and TypeMethodDescriptionat
(int i) boolean
isNull()
static Tuple
of
(int n) Returns an empty tuple of length n.static Tuple
Return a tuple comprised of the passed valuesParse an object to this TupleParse the values of seq and write them to this TuplestrAt
(int i) List<?>
toList()
Return this tuple as a List.toString()
-
Method Details
-
of
Return a tuple comprised of the passed values -
of
Returns an empty tuple of length n. -
parse
Parse the values of seq and write them to this Tuple- Throws:
IllegalArgumentException
- if seq and this differ in length
-
parse
Parse an object to this Tuple- Throws:
IllegalArgumentException
- if obj cannot be parsed to a Tuple
-
at
- Returns:
- the ith value of the tuple
-
strAt
- Returns:
- the ith value of the tuple, as a String.
-
toString
-
toList
Return this tuple as a List. -
isNull
public boolean isNull()- Returns:
- true if all values of the tuple are null, false otherwise.
-