java.lang.Object
oshi.util.tuples.Triplet<A,B,C>
- Type Parameters:
A
- Type of the first elementB
- Type of the second elementC
- Type of the third element
Convenience class for returning multiple objects from methods.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Triplet
Create a triplet and store three objects.- Parameters:
a
- the first object to storeb
- the second object to storec
- the third object to store
-
-
Method Details
-
getA
Returns the first stored object.- Returns:
- first object stored
-
getB
Returns the second stored object.- Returns:
- second object stored
-
getC
Returns the third stored object.- Returns:
- third object stored
-