org.drools.reteoo
Class FactHandleImpl
java.lang.Object
org.drools.reteoo.FactHandleImpl
- All Implemented Interfaces:
- java.io.Serializable, FactHandle
- Direct Known Subclasses:
- Jsr94FactHandle
public class FactHandleImpl
- extends java.lang.Object
- implements FactHandle
Implementation of FactHandle
.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
FactHandleImpl
protected FactHandleImpl(long id)
FactHandleImpl
protected FactHandleImpl(long id,
long recency)
- Construct.
- Parameters:
id
- Handle id.
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in class java.lang.Object
- See Also:
Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
- See Also:
Object
toExternalForm
public java.lang.String toExternalForm()
- Description copied from interface:
FactHandle
- Convert this handle to an external representation.
- Specified by:
toExternalForm
in interface FactHandle
- Returns:
- The external string form.
- See Also:
FactHandle
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
Object
getRecency
public long getRecency()
getId
public long getId()