org.drools.core.util
Class AbstractBaseLinkedListNode

java.lang.Object
  extended by org.drools.core.util.AbstractBaseLinkedListNode
All Implemented Interfaces:
Externalizable, Serializable, LinkedListNode
Direct Known Subclasses:
ActivationGroupNode, ActivationNode, LinkedListEntry, LogicalDependency

public class AbstractBaseLinkedListNode
extends Object
implements LinkedListNode

Provides a abstract base implementation that an object can extend so that it can be used in a LinkedList.

See Also:
LinkedList, Serialized Form

Constructor Summary
AbstractBaseLinkedListNode()
          Empty Constructor
 
Method Summary
 LinkedListNode getNext()
          Returns the next node
 LinkedListNode getPrevious()
          Returns the previous node
 void readExternal(ObjectInput in)
           
 void setNext(LinkedListNode next)
          Sets the next node
 void setPrevious(LinkedListNode previous)
          Sets the previous node
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBaseLinkedListNode

public AbstractBaseLinkedListNode()
Empty Constructor

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

getNext

public LinkedListNode getNext()
Description copied from interface: LinkedListNode
Returns the next node

Specified by:
getNext in interface LinkedListNode
Returns:
The next LinkedListNode

setNext

public void setNext(LinkedListNode next)
Description copied from interface: LinkedListNode
Sets the next node

Specified by:
setNext in interface LinkedListNode
Parameters:
next - The next LinkedListNode

getPrevious

public LinkedListNode getPrevious()
Description copied from interface: LinkedListNode
Returns the previous node

Specified by:
getPrevious in interface LinkedListNode
Returns:
The previous LinkedListNode

setPrevious

public void setPrevious(LinkedListNode previous)
Description copied from interface: LinkedListNode
Sets the previous node

Specified by:
setPrevious in interface LinkedListNode
Parameters:
previous - The previous LinkedListNode


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