|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITuple
A tuple of objects.
Method Summary | |
---|---|
java.lang.Object |
get(int n)
Returns the n th element of the tuple. |
boolean |
isEmpty()
Returns true iff this tuple contains no elements. |
boolean |
isNull(int n)
Returns true iff the n th element
of the tuple is null . |
int |
size()
Returns the size of this tuple. |
Method Detail |
---|
java.lang.Object get(int n)
n
th element of the tuple.
Indices start from zero.
n
-
java.lang.IndexOutOfBoundsException
- if the index n
is beyond the bounds of this tuple.int size()
boolean isNull(int n)
true
iff the n
th element
of the tuple is null
.
n
-
java.lang.IndexOutOfBoundsException
- if the index n
is beyond the bounds of this tuple.boolean isEmpty()
true
iff this tuple contains no elements.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |