Drools :: Core 6.0.0.Beta5

org.drools.core.util
Class AbstractBaseLinkedListNode<T extends LinkedListNode<T>>

java.lang.Object
  extended by org.drools.core.util.AbstractBaseLinkedListNode<T>
All Implemented Interfaces:
Entry<T>, LinkedListNode<T>
Direct Known Subclasses:
AccumulateNode.AccumulateMemory, ActivationGroupNode, ActivationNode, BetaMemory, ConditionalBranchNode.ConditionalBranchMemory, DefaultFactHandle, EvalConditionNode.EvalMemory, FromNode.FromMemory, LeftInputAdapterNode.LiaNodeMemory, LinkedListEntry, PathMemory, QueryElementNode.QueryElementNodeMemory, RightInputAdapterNode.RiaNodeMemory, SimpleLogicalDependency, StackEntry, TimerNode.TimerNodeMemory

public abstract class AbstractBaseLinkedListNode<T extends LinkedListNode<T>>
extends Object
implements LinkedListNode<T>

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

See Also:
LinkedList

Constructor Summary
AbstractBaseLinkedListNode()
          Empty Constructor
 
Method Summary
 T getNext()
           
 T getPrevious()
          Returns the previous node
 void setNext(T next)
           
 void setPrevious(T previous)
          Sets the previous node
 
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

getNext

public T getNext()
Specified by:
getNext in interface Entry<T extends LinkedListNode<T>>

setNext

public void setNext(T next)
Specified by:
setNext in interface Entry<T extends LinkedListNode<T>>

getPrevious

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

Specified by:
getPrevious in interface LinkedListNode<T extends LinkedListNode<T>>
Returns:
The previous LinkedListNode

setPrevious

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

Specified by:
setPrevious in interface LinkedListNode<T extends LinkedListNode<T>>
Parameters:
previous - The previous LinkedListNode

Drools :: Core 6.0.0.Beta5

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.