- peek() - Method in class ArrayPureStack
-
Returns the top element on this ArrayPureStack object.
- peek() - Method in interface PureStack
-
Returns the top element on this PureStack object.
- PI - Static variable in class ExprEvaluator
-
## The number PI = 3.14159...
- pop() - Method in class ArrayPureStack
-
Removes the top element from this ArrayPureStack object.
- pop() - Method in interface PureStack
-
Removes the top element from this PureStack object.
- postfixHelp - Static variable in class ExprEvaluator
-
## postfixHelp can be used in a help message that explains to the user
what is allowed as input to the ExprEvaluator when postfix expressions
are used.
- precedence(String) - Static method in class ExprEvaluator
-
Determines the precedence of an operator.
- prefixHelp - Static variable in class ExprEvaluator
-
## prefixHelp can be used in a help message that explains to the user
what is allowed as input to the ExprEvaluator when prefix expressions
are used.
- PUNCTUATION - Static variable in class DoubleScanner
-
A string containing all the punctuation characters on a standard
English keyboard.
- PureStack<E> - Interface in <Unnamed>
-
An interface for a PureStack, that is, a stack that only allows operations
on the top of the stack.
- push(E) - Method in class ArrayPureStack
-
Inserts a specified element on the top of this ArrayPureStack object.
- push(E) - Method in interface PureStack
-
Inserts a specified element on the top of this PureStack object.
- TableExample1 - Class in <Unnamed>
-
Class: TableExample1.
- TableExample1() - Constructor for class TableExample1
-
Constructor for TableExample1.
- TableExample2 - Class in <Unnamed>
-
Class: TableExample2.
- TableExample2() - Constructor for class TableExample2
-
Constructor for TableExample2.
- TableExample3 - Class in <Unnamed>
-
Class: TableExample3.
- TableExample3() - Constructor for class TableExample3
-
Constructor for TableExample3.
- TableExample4 - Class in <Unnamed>
-
Class: TableExample4.
- TableExample4() - Constructor for class TableExample4
-
Constructor for TableExample4.
- toInfix() - Method in class ExprEvaluator
-
## Creates a fully parenthesized infix expression String.
- toPostfix() - Method in class ExprEvaluator
-
## Creates a postfix expression from the expression tree.
- toPrefix() - Method in class ExprEvaluator
-
## Creates a prefix expression from the expression tree.
- toString() - Method in class ArrayPureStack
-
Returns a string representing the stack
- toString() - Method in class BinaryNode
-
Returns a String with the data as the value of the binary node
- toString() - Method in class ExprEvaluator
-
Output the tree structure -- used in testing/debugging.
- TrivialExample - Class in <Unnamed>
-
- TrivialExample() - Constructor for class TrivialExample
-
Constructor for TrivialExample.
- TrivialExample1 - Class in <Unnamed>
-
Class: TrivialExample1.
- TrivialExample1() - Constructor for class TrivialExample1
-
Constructor for TrivialExample1.
- TrivialExample2 - Class in <Unnamed>
-
Class: TrivialExample2.
- TrivialExample2() - Constructor for class TrivialExample2
-
Constructor for TrivialExample2.
- TrivialExample3 - Class in <Unnamed>
-
Class: TrivialExample3.
- TrivialExample3() - Constructor for class TrivialExample3
-
Constructor for TrivialExample3.
- TrivialExample4 - Class in <Unnamed>
-
Class: TrivialExample4.
- TrivialExample4() - Constructor for class TrivialExample4
-
Constructor for TrivialExample4.
- TrivialExample5 - Class in <Unnamed>
-
Class: TrivialExample5.
- TrivialExample5() - Constructor for class TrivialExample5
-
Constructor for TrivialExample5.
- TrivialExample6 - Class in <Unnamed>
-
Class: TrivialExample6.
- TrivialExample6() - Constructor for class TrivialExample6
-
Constructor for TrivialExample6.