org.drools.core.util
Class ObjectHashMap.ObjectEntry

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

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

See Also:
Serialized Form

Constructor Summary
ObjectHashMap.ObjectEntry()
           
ObjectHashMap.ObjectEntry(Object key, Object value, int cachedHashCode)
           
 
Method Summary
 boolean equals(Object object)
           
 Object getKey()
           
 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

ObjectHashMap.ObjectEntry

public ObjectHashMap.ObjectEntry()

ObjectHashMap.ObjectEntry

public ObjectHashMap.ObjectEntry(Object key,
                                 Object value,
                                 int cachedHashCode)
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()

getKey

public Object getKey()

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-2012 JBoss by Red Hat. All Rights Reserved.