Interface Twin<T>
- All Superinterfaces:
Comparable<Pair<T,T>>, Pair<T, T>, Serializable
- All Known Implementing Classes:
TwinImpl
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 Comparable
compareTo
-
Method Details
-
swap
-