Package algs13

Class XFixedCapacityStack<T>

java.lang.Object
algs13.XFixedCapacityStack<T>

public class XFixedCapacityStack<T> extends Object
  • Field Details

    • a

      private T[] a
    • N

      private int N
  • Constructor Details

  • Method Details

    • size

      public int size()
    • isEmpty

      public boolean isEmpty()
    • push

      public void push(T item)
    • pop

      public T pop()
    • main

      public static void main(String[] args)