Class Key


  • public final class Key
    extends java.lang.Object
    This class stores a multi-part key in such as way as to allow instances of the class to be included in HashMaps.
    • Constructor Summary

      Constructors 
      Constructor Description
      Key()  
      Key​(int initialCapacity)  
      Key​(java.util.List<java.lang.String> keyValues)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void appendValue​(java.lang.String aValue)  
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      int numValues()  
      java.lang.String value​(int index)  
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Key

        public Key()
      • Key

        public Key​(int initialCapacity)
      • Key

        public Key​(java.util.List<java.lang.String> keyValues)
    • Method Detail

      • numValues

        public int numValues()
      • value

        public java.lang.String value​(int index)
      • appendValue

        public void appendValue​(java.lang.String aValue)
      • equals

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

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