Class DefaultStack<E>

java.lang.Object
org.jd.core.v1.util.DefaultStack<E>

public class DefaultStack<E> extends Object
  • Field Details

    • elements

      protected E[] elements
  • Constructor Details

    • DefaultStack

      public DefaultStack()
    • DefaultStack

      public DefaultStack(DefaultStack<E> other)
  • Method Details

    • clear

      public void clear()
    • size

      public int size()
    • isEmpty

      public boolean isEmpty()
    • copy

      public void copy(DefaultStack other)
    • push

      public void push(E expression)
    • pop

      public E pop()
    • peek

      public E peek()
    • replace

      public void replace(E old, E nevv)
    • toString

      public String toString()
      Overrides:
      toString in class Object