ec.gp
Class GPAtomicType
- java.lang.Object
-
- ec.gp.GPType
-
- ec.gp.GPAtomicType
-
public final class GPAtomicType extends GPType
A GPAtomicType is a simple, atomic GPType. For more information, see GPType.- See Also:
GPType, Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description GPAtomicType()Don't use this constructor unless you call setup(...) immediately after it.GPAtomicType(java.lang.String n)Use this constructor for GPAtomic Type unless you know what you're doing
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleancompatibleWith(GPInitializer initializer, GPType t)Am I compatible with ("fit" with) t? For two atomic types, this is done by direct pointer equality.
-
-
-
Constructor Detail
-
GPAtomicType
public GPAtomicType(java.lang.String n)
Use this constructor for GPAtomic Type unless you know what you're doing
-
GPAtomicType
public GPAtomicType()
Don't use this constructor unless you call setup(...) immediately after it.
-
-
Method Detail
-
compatibleWith
public final boolean compatibleWith(GPInitializer initializer, GPType t)
Description copied from class:GPTypeAm I compatible with ("fit" with) t? For two atomic types, this is done by direct pointer equality. For two set types, this is done by determining if the intersection is nonempty. A set type is compatible with an atomic type if it contains the atomic type in its set.- Specified by:
compatibleWithin classGPType
-
-
DMelt 3.0 © DataMelt by jWork.ORG