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.

Version:
1.1, 30th June '97
Author:
Adil Qureshi
Department of Computer Science,
University College London,
Gower St,
London WC1E 6BT,
UK.
See Also:
Terminal, Function, ADTerminal, ADFunction

Variable Index

 o type
The type returned by this primitive.

Constructor Index

 o Primitive()

Method Index

 o instance()
Creates a new instance of this primitive.
 o toString()
Creates a String representation of this primitive.

Variables

 o type
 public Type type
The type returned by this primitive.

Constructors

 o Primitive
 public Primitive()

Methods

 o instance
 public abstract Primitive instance()
Creates a new instance of this primitive.

Returns:
returns a new instance of this primitive.
 o 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