Class HStack<T>

  • All Implemented Interfaces:
    java.io.Serializable

    public class HStack<T>
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      private static class  HStack.Node<T>  
    • Constructor Summary

      Constructors 
      Constructor Description
      HStack()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) T peek()  
      (package private) T pop()  
      (package private) void push​(T object)  
      (package private) int size()  
      • Methods inherited from class java.lang.Object

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

      • size

        private int size
    • Constructor Detail

      • HStack

        public HStack()
    • Method Detail

      • push

        void push​(T object)
      • pop

        T pop()
      • peek

        T peek()
      • size

        int size()