Class Counter


  • public class Counter
    extends java.lang.Object
    Separate class for counter.
    • Constructor Summary

      Constructors 
      Constructor Description
      Counter​(int depthLevel)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCurrentIndex()
      Method getCurrentIndex
      int getDepth()
      Method getDepth
      void increaseCount()
      Method increaseCount
      • Methods inherited from class java.lang.Object

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

      • Counter

        public Counter​(int depthLevel)
    • Method Detail

      • getCurrentIndex

        public int getCurrentIndex()
        Method getCurrentIndex
      • getDepth

        public int getDepth()
        Method getDepth
        Returns:
        level
      • increaseCount

        public void increaseCount()
        Method increaseCount