Package org.polyfrost.polyui.utils
Class MutablePair
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class MutablePair<A extends Object, B extends Object> implements Serializable
A mutable pair of values.
There is no meaning attached to values in this class, it can be used for any purpose. Pair exhibits value semantics, i.e. two pairs are equal if both components are equal.
-
-
Constructor Summary
Constructors Constructor Description MutablePair(A first, B second)Creates a new instance of Pair.
-
Method Summary
-
-
Method Detail
-
toString
String toString()
Returns string representation of the MutablePair including its first and second values.
-
-
-
-