Class CategoryKey


  • class CategoryKey
    extends java.lang.Object
    CategoryKey is a wrapper for String that apparently accellerated hash table lookup in early JVM's.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int hashCache  
      (package private) java.lang.String name  
    • Constructor Summary

      Constructors 
      Constructor Description
      CategoryKey​(java.lang.String name)  
    • Method Summary

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

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

      • name

        java.lang.String name
      • hashCache

        int hashCache
    • Constructor Detail

      • CategoryKey

        CategoryKey​(java.lang.String name)
    • Method Detail

      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public final boolean equals​(java.lang.Object rArg)
        Overrides:
        equals in class java.lang.Object