T
- The first object's type.U
- The second object's type.V
- The third object's type.public class Triple<T,U,V> extends Object
Constructor and Description |
---|
Triple(T first,
U second,
V third)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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() |
public T getFirst()
public U getSecond()
public V getThird()
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.Copyright © 2005–2013. All rights reserved.