Interface Twin<T>
- All Superinterfaces:
Comparable<Pair<T,,T>> Pair<T,,T> Serializable
A Twin is a Pair where both elements have the same type.
An instance of this interface can be created by calling Tuples.twin(Object, Object).
-
Method Summary
Methods inherited from interface java.lang.Comparable
compareTo