Package gaia.cu9.ari.gaiaorbit.util
Class Pair<A,B>
- java.lang.Object
-
- gaia.cu9.ari.gaiaorbit.util.Pair<A,B>
-
- Type Parameters:
A
- First typeB
- Second type
public class Pair<A,B> extends java.lang.Object
Simple implementation of a pair 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)
-
-