This package contains the
Pair and
Twin interfaces.
A tuple is a container used to hold two related objects.
This package contains 2 interfaces:
-
Pair - a container that holds two related objects.
-
Twin - a Pair that has the same type for both items.
-
Interface Summary
| Interface |
Description |
| Pair<T1,T2> |
A Pair is a container that holds two related objects.
|
| Twin<T> |
A Twin is a Pair where both elements have the same type.
|