All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

ableitung(String). Method in class term.Funktion
Abstract method that generates the derivation of a specific function.
Non differentiable functions are encouraged to throw a TermFaultException at this point.
ableitung(String). Method in class term.TermBaum
Build the Deviation with respect to the given variable.
activePos. Variable in class term.BracketST
Active position in the parsed String.
addElement(Object). Method in class term.Liste
addLast(Object). Method in class term.Liste
addVariable(String, BigDecimal). Method in class term.VariableTable
Adds a new Variable with the given value.
addVariable(String, TermBaum). Method in class term.VariableTable
Enter a new variable with the given Term value or change the existing value.
AnzOperanden(). Method in class term.Funktion
The number of the parameters this function expects.

B

berechne(VariableTable, int). Method in class term.Funktion
Calculate the function value for the given value of the variables.
berechne(VariableTable, int). Method in class term.TermBaum
Calculates the (recursively calculated) value of this TermBaum.
berechneTerm(String, int). Static method in class term.TermBaum
If Variables are not needed this method is a bit shorter to be called.
berechneTerm(String, VariableTable, int). Static method in class term.TermBaum
Calculating the value of a given string term considering the given variables.
BracketST(String, String, String, String). Constructor for class term.BracketST

C

CalcDebug. Static variable in class term.TermBaum
CalcDebug = true outputs debug messages during calculations
clone(). Method in class term.Liste
clone(). Method in class term.TermBaum
returns a copy of this TermBaum as an Object.
cloneTerm(). Method in class term.Funktion
copies a complete TermBaum
cloneTerm(). Method in class term.TermBaum
Builds a complete recursive copy of this TermBaum.
close. Variable in class term.BracketST
copyListEl(Liste. ListEl). Method in class term.Liste
generates a complete recursive copy of the element chain.

D

debugC(String). Static method in class term.TermBaum
debugP(String). Static method in class term.TermBaum

E

elementAt(int). Method in class term.Liste
Returns the element with the given index or null if there is no element with that index.
elements(). Method in class term.Liste
Liefert eine Enumeration der Elemente dieser Liste.
elements(). Method in class term.VariableTable
Returns an Enumeration of all variable names stored in the hashtable.
errorNoDerivation(). Method in class term.Funktion
Throws an exception to report a non differentiable function.

F

firstEl(). Method in class term.Liste
Funktion(). Constructor for class term.Funktion
protected Constructor for subclasses
Funktion(TermBaum). Constructor for class term.Funktion
Special Constructor for subclasses with one operand.

G

getDependencies(). Method in class term.TermBaum
Insert the method's description here.
getDependenciesRec(Liste). Method in class term.TermBaum
Insert the method's description here.
getElementCopy(). Method in class term.Liste
Liefert eine Enumeration einer Kopie der Elemente dieser Liste.
getMaxRZ(String). Static method in class term.TermBaum
Looks for the weakest calculation symbol in the top most level of the Term.
getNextPos(). Method in class term.BracketST
Returns the start position of the next Token.
getOperand(). Method in class term.TermBaum
Returns the value operand field, i.e.
getValue(String). Method in class term.VariableTable
Returns the value of the variable or null if no value is stored.

I

isEmpty(). Method in class term.Liste

L

Liste(). Constructor for class term.Liste
Liste(Liste. ListEl). Constructor for class term.Liste

N

nextElement(). Method in class term.BracketST
nextToken(). Method in class term.BracketST
Returns the next Token.

O

ohneKlammernAussen(String, int). Static method in class term.TermBaum
Remove outer brackets.
open. Variable in class term.BracketST
operand. Variable in class term.TermBaum
The parameter if it is only a single operand.
Operanden. Variable in class term.TermBaum
The parameters of this element of the TermBaum stucture

P

packagePraefix. Static variable in class term.TermBaum
Name of the package that keeps the function classes
parse2Liste(String, int). Method in class term.Funktion
Parses the single parameters of a function into a list.
ParseDebug. Static variable in class term.TermBaum
ParseDebug = true outputs debug messages during parsing
parseFunktion(String, int). Static method in class term.Funktion
Parse a Term like 'F(p1,p2,...)', returning an object representing the function that was recognized.
New functions can be added by writing sub classes of this one that will be instantiated by name if they occur in the parsed function.
parseTerm(String). Static method in class term.TermBaum
Parses a complete Term line into a TermBaum structure.
parseTerm(String, int). Static method in class term.TermBaum
Parses a Term into a Tree representation.

R

removeElement(Object). Method in class term.Liste
removeFirst(). Method in class term.Liste
removeVariable(String). Method in class term.VariableTable
Removes the given variable from the hashtable returning the old value if it existed (otherwise null).
removeWhitespaces(String). Static method in class term.TermBaum
Returns a copy of the String that has all Whitespaces removed.
rz. Static variable in class term.TermBaum
Calculation symbols ordered by priority

S

size(). Method in class term.Liste
StrictSyntax. Static variable in class term.TermBaum
StrictSyntax = true forbids free signs in sums, ...
sucheKlammerEnde(String, int, int). Static method in class term.TermBaum
Look for the bracket terminating the bracket Term beginning at the given location.

T

teileNachRZ(String, int, char). Static method in class term.TermBaum
Divides the Term by the given calculation symbol.
TermBaum(). Constructor for class term.TermBaum
Insert the method's description here.
TermBaum(Liste). Constructor for class term.TermBaum
Insert the method's description here.
TermBaum(TermBaum). Constructor for class term.TermBaum
Insert the method's description here.
TermFaultException(int, String). Constructor for class term.TermFaultException
Builds a new Exception for the specified error at the given location.
TermFaultException(String). Constructor for class term.TermFaultException
Short form if the location inside the Term string is unknown.
Termposition. Variable in class term.TermFaultException
The location where the error occurred in the Term string.
toString(). Method in class term.Funktion
Returns a String representatin of the function and its parameters.
toString(). Method in class term.TermBaum
Returns a String representation of this TermBaum.
toString(). Method in class term.TermFaultException

V

VariableTable(). Constructor for class term.VariableTable
Constructor builds a new Hashtable.
vereinfache(). Method in class term.Funktion
Sub classes should return a new TermBaum that is simplified as much as possible.
vereinfache(). Method in class term.TermBaum
Simplifying the Term.

W

where(). Method in class term.TermFaultException