Package oshi.util.tuples
Class Pair<A,B> 
java.lang.Object
oshi.util.tuples.Pair<A,B> 
- Type Parameters:
- A- Type of the first element
- B- Type of the second element
Convenience class for returning multiple objects from methods.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
PairCreate a pair and store two objects.- Parameters:
- a- the first object to store
- b- the second object to store
 
 
- 
- 
Method Details- 
getAReturns the first stored object.- Returns:
- first object stored
 
- 
getBReturns the second stored object.- Returns:
- second object stored
 
 
-