Class NoRehashing<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected T internal
      The specified object that the hashCode and equality is based on.
    • Constructor Summary

      Constructors 
      Constructor Description
      NoRehashing​(T internal)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • internal

        protected final T internal
        The specified object that the hashCode and equality is based on. It is defined by subclasses.
    • Constructor Detail

      • NoRehashing

        public NoRehashing​(T internal)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface ProperlyHashable
        Overrides:
        hashCode in class java.lang.Object