Class ArrayStack<T>

java.lang.Object
org.yaml.snakeyaml.util.ArrayStack<T>

public class ArrayStack<T>
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    ArrayStack​(int initSize)  
  • Method Summary

    Modifier and Type Method Description
    void clear()  
    boolean isEmpty()  
    T pop()  
    void push​(T obj)  

    Methods inherited from class java.lang.Object

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

  • Method Details

    • push

      public void push​(T obj)
    • pop

      public T pop()
    • isEmpty

      public boolean isEmpty()
    • clear

      public void clear()