|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Tuple
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clones this Tuple. |
int |
compareTo(java.lang.Object o)
Compares itself to another Tuple. |
int |
get(int col)
Gets the element at col. |
int[] |
get(int[] cols)
Gets the elements by way of an array of cols. |
int |
getDom()
Gets the domain of this Tuple. |
Tuple |
getInverse()
Gets the inverse of this Tuple. |
int |
getRng()
Gets the range of this Tuple. |
void |
set(int col,
int value)
Assigns a value to the element at col. |
void |
setDom(int value)
Sets the domain of this Tuple. |
void |
setRng(int value)
Sets the range of this Tuple. |
int |
size()
Counts the elements. |
int[] |
toArray()
Returns an array containing all of the elements. |
| Method Detail |
|---|
int size()
int getDom()
void setDom(int value)
int getRng()
void setRng(int value)
int get(int col)
col.
void set(int col,
int value)
value to the element at col.
int[] get(int[] cols)
cols.
Tuple getInverse()
int[] toArray()
java.lang.Object clone()
int compareTo(java.lang.Object o)
throws java.lang.ClassCastException
compareTo in interface java.lang.Comparablejava.lang.ClassCastException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||