JavaScript is disabled on your browser.
 
 
 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 12c (12.2.1.1)  E67111-01
 
java.lang.Object 
java.util.AbstractCollection<E> 
java.util.AbstractList<E> 
java.util.ArrayList 
oracle.javatools.parser.util.SimpleStack 
 
 
 
 
 
 
 
 
 
All Implemented Interfaces: 
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess 
 
 
 
public class SimpleStack 
extends java.util.ArrayList 
SimpleStack is an unsynchronized stack container based off of
 ArrayList. This is useful since java.util.Stack is based off of
 Vector and thus carries the performance cost of synchronization.
See Also:  
Serialized Form  
 
 
 
 
 
Field Summary 
 
Fields inherited from class java.util.AbstractList 
modCount 
 
 
 
 
Constructor Summary 
Constructors    
Constructor and Description 
 
SimpleStack  ()
Constructs an empty list.
 
 
SimpleStack  (java.util.Collection c)
Constructs a stack containing the elements of the specified
 collection, pushed in the order they are returned by the
 collection's iterator.
 
 
SimpleStack  (int initialCapacity)
Constructs an empty stack with the specified initial capacity.
 
 
 
 
 
Method Summary 
All Methods   Instance Methods   Concrete Methods    
Modifier and Type 
Method and Description 
 
java.lang.Object 
peek  ()
Retrieves the object at the top of the stack without removing it.
 
 
java.lang.Object 
pop  ()
Pops the object off the top of the stack.
 
 
void 
push  (java.lang.Object o)
Pushes the object onto the top of the stack by appending it to
 the end of this list.
 
 
 
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, removeRange, 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 
finalize, 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 
 
 
SimpleStack 
public SimpleStack(java.util.Collection c) 
Constructs a stack containing the elements of the specified
 collection, pushed in the order they are returned by the
 collection's iterator.
 
 
 
 
 
 
 
 
 
 
 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 12c (12.2.1.1)  E67111-01
 
Copyright © 1997, 2016, Oracle. All rights reserved.