Top Fields Constructors Methods
org.glassfish.pfl.basic.contain

public Class StackImpl<E>

extends Object
Class Inheritance
Imports
java.util.EmptyStackException

Field Summary

Modifier and TypeField and Description
private Object[]
private int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final boolean
private void
public final E
peek()

public final E
pop()

public final Object
push(E item)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

databack to summary
private Object[] data
topback to summary
private int top

Constructor Detail

StackImplback to summary
public StackImpl()

Method Detail

emptyback to summary
public final boolean empty()
ensureback to summary
private void ensure()
peekback to summary
public final E peek()
Annotations
@SuppressWarnings:unchecked
popback to summary
public final E pop()
Annotations
@SuppressWarnings:unchecked
pushback to summary
public final Object push(E item)