Package org.drools.core.util
Class ObjectHashSet.ObjectEntry
- java.lang.Object
-
- 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
Constructors Constructor Description ObjectEntry()
ObjectEntry(Object value, int hashCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
Entry
getNext()
Object
getValue()
int
hashCode()
void
readExternal(ObjectInput in)
void
setNext(Entry next)
void
writeExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
ObjectEntry
public ObjectEntry()
-
ObjectEntry
public ObjectEntry(Object value, int hashCode)
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
getValue
public Object getValue()
-
-