Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
C
D
E
F
P
S
T
C
csc241.samples.Stack
- package csc241.samples.Stack
D
dynamicStack
- class csc241.samples.Stack.
dynamicStack
.
~mohammad/public_html/classes/csc241/Stack/dynamicStack.java This version implements Stack using a linked list; and is never full.
dynamicStack()
- Constructor for class csc241.samples.Stack.
dynamicStack
construct a dynamicStack
E
empty()
- Method in class csc241.samples.Stack.
dynamicStack
return true if stack is empty, otherwise, return false.
topElement_ being null implies the stack is empty.
empty()
- Method in class csc241.samples.Stack.
fixedStack
return true if stack is empty, otherwise, return false
empty()
- Method in interface csc241.samples.Stack.
Stack
return true if stack is empty, otherwise, return false
F
fixedStack
- class csc241.samples.Stack.
fixedStack
.
~mohammad/public_html/classes/csc241/Stack/fixedStack.java This version implements Stack using an array.
fixedStack(int)
- Constructor for class csc241.samples.Stack.
fixedStack
construct a fixedStack
full()
- Method in class csc241.samples.Stack.
dynamicStack
always return false.
full()
- Method in class csc241.samples.Stack.
fixedStack
return true if stack is full, otherwise, return false
full()
- Method in interface csc241.samples.Stack.
Stack
return true if stack is full, otherwise, return false
P
pop()
- Method in class csc241.samples.Stack.
dynamicStack
remove an element from the top of the stack.
Simply, return restOfStack_.
pop()
- Method in class csc241.samples.Stack.
fixedStack
remove an element from the top of the stack.
pop()
- Method in interface csc241.samples.Stack.
Stack
remove an element from the top of the stack.
push(Object)
- Method in class csc241.samples.Stack.
dynamicStack
add an element to the top of the stack.
push(Object)
- Method in class csc241.samples.Stack.
fixedStack
add an element to the top of the stack.
push(Object)
- Method in interface csc241.samples.Stack.
Stack
add an element to the top of the stack.
S
Stack
- interface csc241.samples.Stack.
Stack
.
~mohammad/public_html/classes/csc241/Stack/Stack.java This is an ADT for stack.
stackException
- exception csc241.samples.Stack.
stackException
.
stackException(String)
- Constructor for class csc241.samples.Stack.
stackException
T
top()
- Method in class csc241.samples.Stack.
dynamicStack
return the element on top of the stack.
top()
- Method in class csc241.samples.Stack.
fixedStack
return the element on top of the stack.
top()
- Method in interface csc241.samples.Stack.
Stack
return the element on top of the stack; return null if empty.
C
D
E
F
P
S
T
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes