Package org.apache.commons.lang.time
Class FastDateFormat.Pair
- java.lang.Object
-
- org.apache.commons.lang.time.FastDateFormat.Pair
-
- Enclosing class:
- FastDateFormat
private static class FastDateFormat.Pair extends java.lang.Object
Helper class for creating compound objects.
One use for this class is to create a hashtable key out of multiple objects.
-
-
Constructor Summary
Constructors Constructor Description Pair(java.lang.Object obj1, java.lang.Object obj2)
Constructs an instance ofPair
to hold the specified objects.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
java.lang.String
toString()
-