Package io.keikai.model.util
Class Pair<X,Y>
java.lang.Object
io.keikai.model.util.Pair<X,Y>
- Type Parameters:
X- the type of the first elementY- the type of the second element
- All Implemented Interfaces:
Serializable
A simple immutable pair of two values.
Drop-in replacement for org.zkoss.util.Pair with the same
public-field (x, y) and getter (getX(),
getY()) API so that both access styles work unchanged.
- Since:
- 7.0.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
x
The first element (public for compatibility with org.zkoss.util.Pair). -
y
The second element (public for compatibility with org.zkoss.util.Pair).
-
-
Constructor Details
-
Pair
-
-
Method Details