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