|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.ext.rdf.Triple<T,U,V>
T
- The first object's type.U
- The second object's type.V
- The third object's type.public class Triple<T,U,V>
Relationship between three typed objects.
Constructor Summary | |
---|---|
Triple(T first,
U second,
V third)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object other)
|
T |
getFirst()
Returns the first object. |
U |
getSecond()
Returns the second object. |
V |
getThird()
Returns the third object. |
int |
hashCode()
|
void |
setFirst(T first)
Sets the first object. |
void |
setSecond(U second)
Sets the second object. |
void |
setThird(V third)
Sets the third object. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Triple(T first, U second, V third)
first
- The first object.second
- The second object.third
- The third object.Method Detail |
---|
public boolean equals(Object other)
equals
in class Object
public T getFirst()
public U getSecond()
public V getThird()
public int hashCode()
hashCode
in class Object
public void setFirst(T first)
first
- The first object.public void setSecond(U second)
second
- The second object.public void setThird(V third)
third
- The third object.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |