Package ec.gp
Class GPAtomicType
java.lang.Object
ec.gp.GPType
ec.gp.GPAtomicType
- All Implemented Interfaces:
Clique,Setup,Serializable
A GPAtomicType is a simple, atomic GPType. For more information, see GPType.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDon't use this constructor unless you call setup(...) immediately after it.Use this constructor for GPAtomic Type unless you know what you're doing -
Method Summary
Modifier and TypeMethodDescriptionfinal booleancompatibleWith(GPInitializer initializer, GPType t) Am I compatible with ("fit" with) t? For two atomic types, this is done by direct pointer equality.
-
Constructor Details
-
GPAtomicType
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 Details
-
compatibleWith
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
-