org.drools.core.util
Class ObjectHashSet.ObjectEntry

java.lang.Object
  extended by org.drools.core.util.ObjectHashSet.ObjectEntry
All Implemented Interfaces:
Externalizable, Serializable, Entry
Enclosing class:
ObjectHashSet

public static class ObjectHashSet.ObjectEntry
extends Object
implements Entry, Externalizable

See Also:
Serialized Form

Constructor Summary
ObjectHashSet.ObjectEntry()
           
ObjectHashSet.ObjectEntry(Object value, int hashCode)
           
 
Method Summary
 boolean equals(Object object)
           
 Entry getNext()
           
 Object getValue()
           
 int hashCode()
           
 void readExternal(ObjectInput in)
           
 void setNext(Entry next)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectHashSet.ObjectEntry

public ObjectHashSet.ObjectEntry()

ObjectHashSet.ObjectEntry

public ObjectHashSet.ObjectEntry(Object value,
                                 int hashCode)
Method Detail

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

getValue

public Object getValue()

getNext

public Entry getNext()
Specified by:
getNext in interface Entry

setNext

public void setNext(Entry next)
Specified by:
setNext in interface Entry

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.