Package org.plumelib.util
Class Intern.IntegerHasher
java.lang.Object
org.plumelib.util.Intern.IntegerHasher
- All Implemented Interfaces:
org.plumelib.util.Hasher
- Enclosing class:
- Intern
Hasher object which hashes and compares Integers. This is the obvious implementation that uses
intValue() for the hashCode.
- See Also:
-
Hasher
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IntegerHasher
public IntegerHasher()Create a new IntegerHasher.
-
-
Method Details
-
equals
- Specified by:
equalsin interfaceorg.plumelib.util.Hasher
-
hashCode
- Specified by:
hashCodein interfaceorg.plumelib.util.Hasher
-