Documentation of 'org.freehep.util.FastStack' Java class
FastStack
org.freehep.util

Class FastStack

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess


    public class FastStack
    extends java.util.ArrayList
    Unsynchronized version of a Stack.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      FastStack() 
      FastStack(int initialCapacity) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Object peek() 
      java.lang.Object pop() 
      java.lang.Object push(java.lang.Object item) 
      • Methods inherited from class java.util.ArrayList

        add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
      • Methods inherited from class java.util.AbstractList

        equals, hashCode
      • Methods inherited from class java.util.AbstractCollection

        containsAll, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.List

        containsAll, equals, hashCode
      • Methods inherited from interface java.util.Collection

        parallelStream, stream
    • Constructor Detail

      • FastStack

        public FastStack()
      • FastStack

        public FastStack(int initialCapacity)
    • Method Detail

      • push

        public java.lang.Object push(java.lang.Object item)
      • pop

        public java.lang.Object pop()
      • peek

        public java.lang.Object peek()

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.