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