Package frc.spectrumLib.util
Class Trio<A,B,C>
java.lang.Object
frc.spectrumLib.util.Trio<A,B,C>
- Type Parameters:
A
- The first object's type.B
- The second object's type.C
- The second object's type.
Represents a trio of three objects.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Trio
Constructs a pair.- Parameters:
first
- The first object.second
- The second object.third
- The third object
-
-
Method Details
-
getFirst
Returns the first object.- Returns:
- The first object.
-
getSecond
Returns the second object.- Returns:
- The second object.
-
getThird
-
of
Returns a trio comprised of the three given objects.- Type Parameters:
A
- The first object's type.B
- The second object's type.C
- The third object's type.- Parameters:
a
- The first object.b
- The second object.b
- The second object.- Returns:
- A trio comprised of the three given objects.
-