Package org.drools.core.util
Class AbstractBaseLinkedListNode<T extends LinkedListNode<T>>
- java.lang.Object
-
- org.drools.core.util.AbstractBaseLinkedListNode<T>
-
- All Implemented Interfaces:
Entry<T>,LinkedListNode<T>
- Direct Known Subclasses:
AccumulateNode.AccumulateMemory,ActivationGroupNode,ActivationNode,AsyncReceiveNode.AsyncReceiveMemory,AsyncSendNode.AsyncSendMemory,BetaMemory,ConditionalBranchNode.ConditionalBranchMemory,DefaultFactHandle,EvalConditionNode.EvalMemory,FromNode.FromMemory,JTMSMode,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
Constructors Constructor Description AbstractBaseLinkedListNode()Empty Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetNext()TgetPrevious()Returns the previous nodevoidnullPrevNext()voidsetNext(T next)voidsetPrevious(T previous)Sets the previous node
-
-
-
Method Detail
-
setNext
public void setNext(T next)
- Specified by:
setNextin interfaceEntry<T extends LinkedListNode<T>>
-
getPrevious
public T getPrevious()
Description copied from interface:LinkedListNodeReturns the previous node- Specified by:
getPreviousin interfaceLinkedListNode<T extends LinkedListNode<T>>- Returns:
- The previous LinkedListNode
-
setPrevious
public void setPrevious(T previous)
Description copied from interface:LinkedListNodeSets the previous node- Specified by:
setPreviousin interfaceLinkedListNode<T extends LinkedListNode<T>>- Parameters:
previous- The previous LinkedListNode
-
nullPrevNext
public void nullPrevNext()
- Specified by:
nullPrevNextin interfaceLinkedListNode<T extends LinkedListNode<T>>
-
-