Package battleship.utils
Class Triplet<U,K,V>
java.lang.Object
battleship.utils.Triplet<U,K,V>
- Type Parameters:
U
- leftK
- middleV
- right
public class Triplet<U,K,V>
extends java.lang.Object
tuple containing 3 generic type elements
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
left
-
middle
-
right
-
-
Constructor Details
-
Triplet
-
Triplet
-
-
Method Details
-
getLeft
-
getMiddle
-
getRight
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-