Class LevelMap


  • public class LevelMap
    extends java.lang.Object
    This data structure tracks the number of expected calls on a given level
    • Constructor Summary

      Constructors 
      Constructor Description
      LevelMap()  
      LevelMap​(int initialSize)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      int get​(int level)  
      void increment​(int level, int by)  
      void set​(int level, int newValue)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • LevelMap

        public LevelMap​(int initialSize)
      • LevelMap

        public LevelMap()
    • Method Detail

      • get

        public int get​(int level)
      • increment

        public void increment​(int level,
                              int by)
      • set

        public void set​(int level,
                        int newValue)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • clear

        public void clear()