Package org.omegahat.Environment.DataStructures

Interfaces used by the language to implement extensible operator overloading, etc.

See:
          Description

Interface Summary
Addable Interface implemented by a class to allow it be interpreted by the evaluator as supporting addition operator overloading + and += .
AssignableSubset Omegahat language interface for allowing general assignments to elements within this type of object via expressions such as
BasicFrame Primitive, top-level interface for defining elementary methods for data frame concepts.
ConstructorCopyable A trivial interface used only to indicate that a class has a constructor which copies an object of the same type.
Copyable An interface that allows callers to "duplicate" an instance of an object whose class implements this interface.
DataFrame  
DataVariable  
Decrementable Interface that allows an object support the -- operator in the Omegahat evaluator, by having mapping an expression of the form x++ to a method call in this interface - decrement(int).
DeepCopyable Implementing this interface is an assertion that the class has a copy(true) method that returns a deep copy of the object.
Divisable Interface implemented by a class to allow it be interpreted by the evaluator as supporting division operator overloading: / and /= .
ElementAssignableSubset Intended to allow the omegahat evaluator perform the iteration over loops of assignments, etc.
ElementSubsettable  
EqualityOperator Simple interface that provides a method for implementing the overloaded operator `==' in the interactive language.
Factor A categorical variable for which each observation can have a value from a particular set of values.
FactorLevelSet  
Incrementable Interface that allows an object support the ++ operator in the Omegahat evaluator, by having mapping an expression of the form x++ to a method call in this interface - increment(int).
MathOperable Class used for housing constants identifying different basic math operations.
MathOperations Aggregate of all the different interfaces used for operator overloading and math operations - Addable, Subtractable, etc.
Multiplicable Interface implemented by a class to allow it be interpreted by the evaluator as supporting multiplication operator overloading: * and *= .
ObjectIncrementable Omegahat language interface which is primarily a confusion with +=, which is an in-place assignment.
OmegaCopyable Implementing this interface is an assertion that the class has both shallow and deep copying implenented, via a method copy(boolean deep).
OrderedFactor  
RandomVariable  
RelationalOperator  
ShallowCopyable Implementing this interface is an assertion that the class has a copy() method that returns a shallow copy of the object.
Subsettable Interface that allows an object to support Omegahat indexing in the form of expressions x[0], x["a"] and the corresponding [[ form (which returns a scalar, if possible, rather than an object of the same class as the source).
Subtractable Interface implemented by a class to allow it be interpreted by the evaluator as supporting subtraction operator overloading: - and -= .
Variable  
 

Class Summary
BasicDataFrame  
BasicFactor  
BasicFactorLevelSet  
character See character
integer  
list  
logical  
numeric S-like array of primitive doubles, with methods to perform basic types.
single See single
vector See org.omegahat.Environment.ObjectDataStructures.vector.
 

Package org.omegahat.Environment.DataStructures Description

Interfaces used by the language to implement extensible operator overloading, etc. in the interactive language and basic vector structures and lists used generally rather than specifically for data analysis, in contrast to the interfaces and classes defined in DataStructures/Data which relate to statistical data analysis and also to be contrasted with the object-based collections in