A B C D E F G H I L M N O P R S T Z

A

abort() - Method in class org.hava.engine.HEngine
Causes run to stop calculating and return.
add(HValue, HValue) - Static method in class org.hava.engine.HOperator
 
addCase(HValue, HValue) - Method in interface org.hava.engine.HIterator.HIteratorInstance
Submits an index-value pair to the iterator.

B

BLANK - Static variable in class org.hava.engine.HValue
A built-in token.
BOOLEAN - Static variable in class org.hava.engine.HValue
A built-in token, returned by getType().
booleanValue() - Method in class org.hava.engine.HValue
Returns this value as a boolean (run-time failure if it is not boolean).

C

compareDefinitionRank(HValue) - Method in class org.hava.engine.HValue
Used by report generator to determine the sequence in which value types were defined.
createInstance() - Method in interface org.hava.engine.HIterator
Returns a fresh instance of this iterator.
createReference(String) - Method in class org.hava.engine.HEngine
Creates a reference to a simple variable, from which its value may be obtained.
createReference(String, HValue[]) - Method in class org.hava.engine.HEngine
Creates a reference to an indexed variable, from which its value may be obtained.
createStructValue(String, HValue[]) - Method in class org.hava.engine.HEngine
Creates an HValue of type structure (or null, if the given identifier is not defined as a structure).
createTokenValue(String) - Method in class org.hava.engine.HEngine
Creates an HValue of type token (or null, if the given identifier is not defined as a token)

D

divide(HValue, HValue) - Static method in class org.hava.engine.HOperator
 
doubleValue() - Method in class org.hava.engine.HValue
Returns this value as a double (run-time failure if it is not numerical).

E

EMPTYLIST - Static variable in class org.hava.engine.HValue
A built-in value.
equals(Object) - Method in class org.hava.engine.HDocComment
 
equals(Object) - Method in class org.hava.engine.HValue
 
ERROR - Static variable in class org.hava.engine.HValue
A built-in token.
evaluate(HValue) - Method in interface org.hava.engine.HFunction
Evaluates this function, given a list of arguments.

F

FALSE - Static variable in class org.hava.engine.HValue
A built-in value.

G

generateReport(Writer) - Method in class org.hava.engine.HEngine
Generates a report, using the default generator.
getColumn() - Method in exception org.hava.engine.HException
Number of column where error occurred.
getElement(int) - Method in class org.hava.engine.HValue
If compound, returns the i-th element.
getFieldGranularityValue(int) - Method in class org.hava.engine.HParameters
Returns the grain associated with this field (or null, if none).
getFieldIdentifier(int) - Method in class org.hava.engine.HParameters
Returns the identifier for the i-th parameters of this symbol.
getFieldIndex(String) - Method in class org.hava.engine.HParameters
Returns the relative position of the field whose name is provided.
getFile() - Method in exception org.hava.engine.HException
Name of import file where error occurred.
getIdentifier() - Method in interface org.hava.engine.HFunction
Returns the name of this function as it would appear in a Hava invocation, for example, "cosh".
getIdentifier() - Method in interface org.hava.engine.HIterator
Returns the name of this function as it would appear in a Hava invocation, for example, "median".
getIdentifier() - Method in class org.hava.engine.HReference
Returns the variable identifier.
getImportIdentifier() - Method in class org.hava.engine.HDocComment
Always empty string for HDocComments.
getImportIdentifier() - Method in class org.hava.engine.HReference
Returns the name of the import file where this variable is defined.
getLine() - Method in exception org.hava.engine.HException
Number of line where error occurred.
getNumElements() - Method in class org.hava.engine.HValue
If compound, returns the number of elements it contains.
getNumFields() - Method in class org.hava.engine.HParameters
Returns the number of parameters defined for this symbol.
getParameters() - Method in class org.hava.engine.HValue
Returns the definition of the indexes or fields of this value (if it is an index or a structure).
getType() - Method in class org.hava.engine.HValue
Returns the type of this value, as a Hava token instance.
getValue() - Method in interface org.hava.engine.HIterator.HIteratorInstance
Returns the value generated by this iterator.
getValue() - Method in class org.hava.engine.HReference
Returns the value assigned to this variable reference.
getValueCount() - Method in class org.hava.engine.HEngine
Obtains the number of calculated values (for use by progress bar).
getVariableReferenceSet() - Method in class org.hava.engine.HEngine
Returns the list of non-private variable references for which values have been calculated (for use by custom report generator).

H

hashCode() - Method in class org.hava.engine.HDocComment
 
hashCode() - Method in class org.hava.engine.HValue
 
HDocComment - Class in org.hava.engine
A doc comment masquerading as an HReference so it can be included in list passed to report generator.
HEngine - Class in org.hava.engine
Public API for the Hava calculator.
HEngine() - Constructor for class org.hava.engine.HEngine
Creates a new engine having no default import address.
HEngine(String) - Constructor for class org.hava.engine.HEngine
Creates a new engine having the given default import address.
HException - Exception in org.hava.engine
Exception generated by the Hava engine, showing the line and column of the source where the failure occurred.
HException() - Constructor for exception org.hava.engine.HException
 
HException(String) - Constructor for exception org.hava.engine.HException
 
HFunction - Interface in org.hava.engine
A native (Java) function that may be invoked from Hava source.
HIterator - Interface in org.hava.engine
A native (Java) iterator that may be invoked from Hava source.
HIterator.HIteratorInstance - Interface in org.hava.engine
Performs the calculations associated with a particular HIterator.
HOperator - Class in org.hava.engine
Hava operator implementations.
HOperator() - Constructor for class org.hava.engine.HOperator
 
HParameters - Class in org.hava.engine
Definition of a variable's indexes or a structure's fields.
HReference - Class in org.hava.engine
Label associated with an assigned value, for example, "pi" or "f(x, y)".
HValue - Class in org.hava.engine
A value that may be assigned to a Hava variable at run-time.
HValue(Integer) - Constructor for class org.hava.engine.HValue
Create an HValue wrapper for the given integer.
HValue(Double) - Constructor for class org.hava.engine.HValue
Create an HValue wrapper for the given double.
HValue(Boolean) - Constructor for class org.hava.engine.HValue
Create an HValue wrapper for the given boolean.
HValue(HValue[]) - Constructor for class org.hava.engine.HValue
Create an HValue wrapper for the given list.

I

IGNORE - Static variable in class org.hava.engine.HValue
A built-in token.
INTEGER - Static variable in class org.hava.engine.HValue
A built-in token, returned by getType().
intValue() - Method in class org.hava.engine.HValue
Returns this value as an int (run-time failure if it is not numerical).
isBoolean() - Method in class org.hava.engine.HValue
Returns true if this value is a boolean.
isComplete() - Method in interface org.hava.engine.HIterator.HIteratorInstance
Returns true if the value of this iterator is fully determined from the cases already submitted.
isCompound() - Method in class org.hava.engine.HValue
Returns true if this value is a list, an index or a structure.
isDouble() - Method in class org.hava.engine.HValue
Returns true if this value is a double.
isIndex() - Method in class org.hava.engine.HValue
Returns true if this value is an index.
isInteger() - Method in class org.hava.engine.HValue
Returns true if this value is an integer.
isList() - Method in class org.hava.engine.HValue
Returns true if this value is a list.
isNumerical() - Method in class org.hava.engine.HValue
Returns true if this value is a number (integer or double).
isOverridden() - Method in class org.hava.engine.HDocComment
Always false for HDocComments.
isOverridden() - Method in class org.hava.engine.HReference
Returns true if this variable reference is overridden.
isStructure() - Method in class org.hava.engine.HValue
Returns true if this value is a structure.
isTable() - Method in class org.hava.engine.HDocComment
Always false for HDocComments.
isTable() - Method in class org.hava.engine.HReference
Returns true if this variable reference was defined with a table prefix.
isToken() - Method in class org.hava.engine.HValue
Returns true if this value is a token.

L

LIST - Static variable in class org.hava.engine.HValue
A built-in token, returned by getType().
listContains(HValue, HValue) - Static method in class org.hava.engine.HOperator
 
listRange(HValue, HValue) - Static method in class org.hava.engine.HOperator
 
load(String) - Method in class org.hava.engine.HEngine
Loads the given Hava source.
load(Reader) - Method in class org.hava.engine.HEngine
Loads the given Hava source.
logicalAnd(HValue, HValue) - Static method in class org.hava.engine.HOperator
 
logicalNot(HValue) - Static method in class org.hava.engine.HOperator
 
logicalOr(HValue, HValue) - Static method in class org.hava.engine.HOperator
 

M

multiply(HValue, HValue) - Static method in class org.hava.engine.HOperator
 

N

negative(HValue) - Static method in class org.hava.engine.HOperator
 

O

ONE - Static variable in class org.hava.engine.HValue
A built-in value.
org.hava.engine - package org.hava.engine
 

P

power(HValue, HValue) - Static method in class org.hava.engine.HOperator
 

R

REAL - Static variable in class org.hava.engine.HValue
A built-in token, returned by getType().
registerFunction(HFunction) - Method in class org.hava.engine.HEngine
Extend Hava to recognize a function written in Java.
registerIterator(HIterator) - Method in class org.hava.engine.HEngine
Extend Hava to recognize am iterator written in Java.
relationalEqual(HValue, HValue) - Static method in class org.hava.engine.HOperator
 
relationalGreaterThan(HValue, HValue) - Static method in class org.hava.engine.HOperator
 
relationalGreaterThanOrEqual(HValue, HValue) - Static method in class org.hava.engine.HOperator
 
relationalLessThan(HValue, HValue) - Static method in class org.hava.engine.HOperator
 
relationalLessThanOrEqual(HValue, HValue) - Static method in class org.hava.engine.HOperator
 
relationalUnequal(HValue, HValue) - Static method in class org.hava.engine.HOperator
 
requiresIndex() - Method in interface org.hava.engine.HIterator
Returns true if this iterator uses an index value (for example, argmax or argmin).
reset(String) - Method in class org.hava.engine.HEngine
Clears all definitions and values from the engine, and sets a new default import address.
reset() - Method in class org.hava.engine.HEngine
Clears all definitions and values from the engine, while retaining the current default import address.
round(HValue) - Static method in class org.hava.engine.HOperator
 
run() - Method in class org.hava.engine.HEngine
Evaluates all non-indexed variables of the current Hava program.
run(Writer) - Method in class org.hava.engine.HEngine
Evaluates all non-indexed variables of the current Hava program, and generates a trace.

S

structField(String) - Method in class org.hava.engine.HValue
Returns the value of the field of given name (struct value only).
STRUCTURE - Static variable in class org.hava.engine.HValue
A built-in token, returned by getType().
subtract(HValue, HValue) - Static method in class org.hava.engine.HOperator
 

T

TOKEN - Static variable in class org.hava.engine.HValue
A built-in token, returned by getType().
toString() - Method in class org.hava.engine.HDocComment
Returns the text content of this document comment.
toString() - Method in class org.hava.engine.HReference
Provides a representation of this variable reference in the same format that appears in the demo report.
toString() - Method in class org.hava.engine.HValue
Provides a representation of this value in the same format that appears in the demo report.
TRUE - Static variable in class org.hava.engine.HValue
A built-in value.
TWO - Static variable in class org.hava.engine.HValue
A built-in value.
TYPE_MESSAGE - Static variable in exception org.hava.engine.HException
The catch-all error message "Type mismatch"

Z

ZERO - Static variable in class org.hava.engine.HValue
A built-in value.

A B C D E F G H I L M N O P R S T Z