org.drools.core.util
Class LinkedListEntry

java.lang.Object
  extended by org.drools.core.util.AbstractBaseLinkedListNode
      extended by org.drools.core.util.LinkedListEntry
All Implemented Interfaces:
Externalizable, Serializable, LinkedListNode

public class LinkedListEntry
extends AbstractBaseLinkedListNode

The idea behind LinkedListNodeWrapper is to be able to add the same LinkedListNode to multiple LinkedLists where the node can have different previous and next nodes in each list.

See Also:
Serialized Form

Constructor Summary
LinkedListEntry()
           
LinkedListEntry(Object object)
           
 
Method Summary
 boolean equals(Object other)
           
 Object getObject()
           
 int hashCode()
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class org.drools.core.util.AbstractBaseLinkedListNode
getNext, getPrevious, setNext, setPrevious
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkedListEntry

public LinkedListEntry()

LinkedListEntry

public LinkedListEntry(Object object)
Method Detail

readExternal

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

writeExternal

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

getObject

public Object getObject()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


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