| |
|
| java.lang.Object org.drools.common.EqualityKey
EqualityKey | public class EqualityKey implements Serializable(Code) | | Upon instantiation the EqualityKey caches the first Object's hashCode
this can never change. The EqualityKey has an internal datastructure
which references all the handles which are equal. It also records
Whether the referenced facts are JUSTIFIED or STATED
author: Mark Proctor |
Field Summary | |
final public static int | JUSTIFIED | final public static int | STATED |
JUSTIFIED | final public static int JUSTIFIED(Code) | | |
STATED | final public static int STATED(Code) | | |
equals | public boolean equals(Object object)(Code) | | Equality for the EqualityKey means two things. It returns
true if the object is also an EqualityKey the of the same
the same identity as this. It also returns true if the object
is equal to the head FactHandle's referenced Object.
|
getOtherFactHandle | public List getOtherFactHandle()(Code) | | |
getStatus | public int getStatus()(Code) | | the status |
isEmpty | public boolean isEmpty()(Code) | | |
setStatus | public void setStatus(int status)(Code) | | Parameters: status - the status to set |
|
|
|