C D F M N P S U V

C

copy(StackImpl, StackImpl) - Method in class Stack
 
count - Variable in class UnboundedStack
 

D

data - Variable in class FixedStack
 
data - Variable in class UnboundedStack
 

F

FixedStack - class FixedStack.
This class implements interface StackImpl with a stack represented by an array.
FixedStack() - Constructor for class FixedStack
 

M

Main - class Main.
This class is a small client of a Bridge pattern The bridge concerns a stack tha dynamically changes implementation.
Main() - Constructor for class Main
 
main(String[]) - Static method in class Main
Usual entry point.

N

next - Variable in class UnboundedStack.Node
 

P

pnt - Variable in class FixedStack
 
pop() - Method in class FixedStack
Pop the stack.
pop() - Method in class Stack
Pop the stack.
pop() - Method in interface StackImpl
Pop the stack.
pop() - Method in class UnboundedStack
Pop the stack.
push(int) - Method in class FixedStack
Push an integer onto the stack.
push(int) - Method in class Stack
Push an integer onto the stack.
push(int) - Method in interface StackImpl
Push an integer onto the stack.
push(int) - Method in class UnboundedStack
Push an integer onto the stack.

S

size - Variable in class FixedStack
 
size() - Method in class FixedStack
Return the number of elements contained in the stack.
size() - Method in class Stack
Return the number of elements contained in the stack.
size() - Method in interface StackImpl
Return the number of elements contained in the stack.
size() - Method in class UnboundedStack
Return the number of elements contained in the stack.
stack - Variable in class Stack
 
Stack - class Stack.
This class provides a stack that changes implementation dynamically.
Stack() - Constructor for class Stack
 
StackImpl - interface StackImpl.
Interface implemented by all stacks.

U

UnboundedStack - class UnboundedStack.
This class implements interface StackImpl with a stack represented by a linked list.
UnboundedStack.Node - class UnboundedStack.Node.
 
UnboundedStack.Node(UnboundedStack, int, UnboundedStack.Node) - Constructor for class UnboundedStack.Node
 
UnboundedStack() - Constructor for class UnboundedStack
 

V

val - Variable in class UnboundedStack.Node
 

C D F M N P S U V