Class Intern.IntArrayHasher

java.lang.Object
org.plumelib.util.Intern.IntArrayHasher
All Implemented Interfaces:
org.plumelib.util.Hasher
Enclosing class:
Intern

private static final class Intern.IntArrayHasher extends Object implements org.plumelib.util.Hasher
Hasher object which hashes and compares int[] objects according to their contents.
See Also:
  • Constructor Details

    • IntArrayHasher

      public IntArrayHasher()
      Create a new IntArrayHasher.
  • Method Details

    • equals

      public boolean equals(Object a1, Object a2)
      Specified by:
      equals in interface org.plumelib.util.Hasher
    • hashCode

      public int hashCode(@UnknownSignedness Object o)
      Specified by:
      hashCode in interface org.plumelib.util.Hasher