Package oshi.util.tuples
Class Quartet<A,B,C,D>
java.lang.Object
oshi.util.tuples.Quartet<A,B,C,D>
- Type Parameters:
A
- Type of the first elementB
- Type of the second elementC
- Type of the third elementD
- Type of the fourth element
Convenience class for returning multiple objects from methods.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Quartet
Create a quartet and store four objects.- Parameters:
a
- the first object to storeb
- the second object to storec
- the third object to stored
- the fourth 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
-
getD
Returns the fourth stored object.- Returns:
- fourth object stored
-