Package ru.bitel.common.model
Class Pair<T1,T2>
java.lang.Object
ru.bitel.common.model.Pair<T1,T2>
- Type Parameters:
T1
- первый типT2
- второй тип
public class Pair<T1,T2>
extends java.lang.Object
Класс "пара", его часто не хватает.
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
Pair
public Pair() -
Pair
-
-
Method Details
-
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
-
setFirst
-
getSecond
-
setSecond
-