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>An immutable key-value tuple. Two instancesare equalif 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 AgetKey()BgetValue()static <A,B>
Pair<A,B>of(A key, B value)
-