Package org.apache.juneau.utils
Class Tuple2<A,B> 
java.lang.Object
org.apache.juneau.utils.Tuple2<A,B> 
- Type Parameters:
- A- Object 1 type.
- B- Object 2 type.
Represents a simple tuple of 2 objects.
 
See Also:
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
Tuple2Constructor.- Parameters:
- a- Object 1.
- b- Object 2.
 
 
- 
- 
Method Details- 
ofStatic creator.- Type Parameters:
- A- Object 1 type.
- B- Object 2 type.
- Parameters:
- a- Object 1.
- b- Object 2.
- Returns:
- A new tuple object.
 
- 
getAReturns the first object in this tuple.- Returns:
- The first object in this tuple.
 
- 
getBReturns the second object in this tuple.- Returns:
- The second object in this tuple.
 
- 
hashCode
- 
equals
 
-