All Packages Class Hierarchy This Package Previous Next Index
Class gpsys.Primitive
java.lang.Object
|
+----gpsys.Primitive
- public abstract class Primitive
- extends Object
- implements Serializable
A Primitive is unit of an evolved program. Users should never try to
extend this class directly to create their own primitives. Instead they
should extend the derived classes Function, Terminal, ADFunction or
ADTerminal.
- Author:
- Adil Qureshi
Department of Computer Science,
University College London,
Gower St,
London WC1E 6BT,
UK.
- See Also:
- Terminal, Function, ADTerminal, ADFunction
-
type
- The type returned by this primitive.
-
Primitive()
-
-
instance()
- Creates a new instance of this primitive.
-
toString()
- Creates a String representation of this primitive.
type
public Type type
- The type returned by this primitive.
Primitive
public Primitive()
instance
public abstract Primitive instance()
- Creates a new instance of this primitive.
- Returns:
- returns a new instance of this primitive.
toString
public abstract String toString()
- Creates a String representation of this primitive.
- Returns:
- The String representation of this primitive.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index