org.drools.reteoo
Class InitialFactImpl

java.lang.Object
  extended by org.drools.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
InitialFactImpl()
           
 
Method Summary
 boolean equals(Object object)
           
static InitialFact getInstance()
           
 int hashCode()
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitialFactImpl

public InitialFactImpl()
Method Detail

getInstance

public static InitialFact getInstance()

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object object)
Overrides:
equals in class Object


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.