K
- V
- public class MPair<K,V>
extends java.lang.Object
Constructor and Description |
---|
MPair(K first,
V second)
Consturctor with the two elements of the pair
|
public K getFirst()
public V getSecond()
public void setFirst(K first)
first
- public void setSecond(V second)
first
- public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object