Class IndexHashTable.HashFunction

    • Constructor Summary

      Constructors 
      Constructor Description
      HashFunction()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract boolean equal​(int element1, int element2)  
      abstract boolean equal​(java.lang.Object elementDescriptor, int element)  
      abstract int getHash​(int element)  
      abstract int getHash​(java.lang.Object elementDescriptor)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HashFunction

        public HashFunction()
    • Method Detail

      • getHash

        public abstract int getHash​(int element)
      • equal

        public abstract boolean equal​(int element1,
                                      int element2)
      • getHash

        public abstract int getHash​(java.lang.Object elementDescriptor)
      • equal

        public abstract boolean equal​(java.lang.Object elementDescriptor,
                                      int element)