public class ObjectExamplePair extends Object implements Serializable
Constructor and Description |
---|
ObjectExamplePair(Object A) |
ObjectExamplePair(Object A,
Object B) |
ObjectExamplePair(String n,
Object A) |
ObjectExamplePair(String n,
Object A,
Object B)
Create an object pair, adequate for later teaching it to a Prolog engine and have this
produce an ipObjectSpec fact on the Prolog side.
|
public ObjectExamplePair(Object A)
public ObjectExamplePair(String n, Object A, Object B)
n
- Optional name for the class, as viewed from the Prolog side.A
- An object instance.B
- Another object instance, may or not be different from the first.PrologEngine.teachMoreObjects(ObjectExamplePair[])