Package org.optaplanner.core.impl.util
Interface Pair<A,B>
-
- Type Parameters:
A
-B
-
- All Known Subinterfaces:
MutablePair<A,B>
public interface Pair<A,B>
A key-value tuple. Two instancesare equal
if both values in the first instance are equal to their counterpart in the other instance.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description A
getKey()
B
getValue()
static <A,B>
Pair<A,B>of(A key, B value)
-