Package org.drools.core.reteoo
Class InitialFactImpl
- java.lang.Object
-
- org.drools.core.reteoo.InitialFactImpl
-
- All Implemented Interfaces:
Externalizable,Serializable,InitialFact
public final class InitialFactImpl extends Object implements InitialFact, Externalizable
We dont want users to be able to instantiate InitialFact so we expose it as an interface and make the class and its constructor package protected- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InitialFactImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)static InitialFactgetInstance()inthashCode()voidreadExternal(ObjectInput in)voidwriteExternal(ObjectOutput out)
-
-
-
Method Detail
-
getInstance
public static InitialFact getInstance()
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
-