java.lang.Object
provided.utils.struct.impl.Dyad<F,S>
- Type Parameters:
F
- The type of the first elementS
- The type of the second element
- All Implemented Interfaces:
IDyad<F,S>
A class that represents a dyad (pair) of elements of possibly different types.
This class is a substitute for javafx.Pair since the JavaFX project is no longer an
official part of Java.
- Author:
- swong
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
first
The first element -
second
The second element
-
-
Constructor Details
-
Dyad
Construct a dyad of the two given elements.- Parameters:
first
- The first elementsecond
- The second element
-
-
Method Details