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 T
getNext()
T
getPrevious()
Returns the previous nodevoid
nullPrevNext()
void
setNext(T next)
void
setPrevious(T previous)
Sets the previous node
-
-
-
Method Detail
-
setNext
public void setNext(T next)
- Specified by:
setNext
in interfaceEntry<T extends LinkedListNode<T>>
-
getPrevious
public T getPrevious()
Description copied from interface:LinkedListNode
Returns the previous node- Specified by:
getPrevious
in interfaceLinkedListNode<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 interfaceLinkedListNode<T extends LinkedListNode<T>>
- Parameters:
previous
- The previous LinkedListNode
-
nullPrevNext
public void nullPrevNext()
- Specified by:
nullPrevNext
in interfaceLinkedListNode<T extends LinkedListNode<T>>
-
-