Class SymbMap

  • All Implemented Interfaces:
    java.lang.Cloneable

    class SymbMap
    extends java.lang.Object
    implements java.lang.Cloneable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) NameSpaceSymbEntry[] entries  
      (package private) int free  
      (package private) java.lang.String[] keys  
    • Constructor Summary

      Constructors 
      Constructor Description
      SymbMap()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object clone()  
      (package private) java.util.List<NameSpaceSymbEntry> entrySet()  
      (package private) NameSpaceSymbEntry get​(java.lang.String key)  
      protected int index​(java.lang.Object obj)  
      (package private) void put​(java.lang.String key, NameSpaceSymbEntry value)  
      protected void rehash​(int newCapacity)
      rehashes the map to the new capacity.
      • Methods inherited from class java.lang.Object

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

      • SymbMap

        SymbMap()
    • Method Detail

      • index

        protected int index​(java.lang.Object obj)
      • rehash

        protected void rehash​(int newCapacity)
        rehashes the map to the new capacity.
        Parameters:
        newCapacity - an int value
      • clone

        protected java.lang.Object clone()
        Overrides:
        clone in class java.lang.Object