Package gaiasky.util
Class Trio<A,B,C>
- java.lang.Object
-
- gaiasky.util.Trio<A,B,C>
-
- Type Parameters:
A
- First typeB
- Second typeC
- Third type
public class Trio<A,B,C> extends java.lang.Object
Simple impelementation of a trio of objects.
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getFirst
public A getFirst()
-
setFirst
public void setFirst(A first)
-
getSecond
public B getSecond()
-
setSecond
public void setSecond(B second)
-
getThird
public C getThird()
-
setThird
public void setThird(C third)
-
-