|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.synccharts.s.Tuple<T,V>
T
- type of the first tuple objectV
- type of the second tuple objectpublic class Tuple<T,V>
A simple implementation of a tuple type.
Constructor Summary | |
---|---|
Tuple()
Constructor of the type "Tupel" without arguments. |
|
Tuple(T o1,
V o2)
Constructor for the type "Tupel" with two objects as argument. |
Method Summary | |
---|---|
boolean |
equals(Object other)
|
T |
getO1()
Getter for the first object of the tuple. |
V |
getO2()
Getter for the second object of the tuple. |
void |
setO1(T object)
Setter for the first object of the tuple. |
void |
setO2(V object)
Setter for the second object of the tuple. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Tuple(T o1, V o2)
o1
- first object of the tupleo2
- second object of the tuplepublic Tuple()
Method Detail |
---|
public T getO1()
public V getO2()
public void setO1(T object)
object
- to set the first object of the tuplepublic void setO2(V object)
object
- to set the second object of the tuplepublic boolean equals(Object other)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |