Class IndentationStack


  • public class IndentationStack
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean contains​(int value)  
      int peek()  
      int pop()  
      void push​(int value)  
      int size()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • IndentationStack

        public IndentationStack()
    • Method Detail

      • size

        public int size()
      • push

        public void push​(int value)
      • peek

        public int peek()
      • pop

        public int pop()
      • contains

        public boolean contains​(int value)
      • toString

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