Interface LinkedListSetEntry<I extends LinkedListSetEntry<I,O>,O>
- All Known Subinterfaces:
ActiveAsynchronousFlow,AssetManager,BlockState,Flow,FlowCompletion,FunctionState,ManagedFunctionContainer,RegisteredGovernance,ThreadProfiler,ThreadState
- All Known Implementing Classes:
AbstractDelegateFunctionState,AbstractFunctionState,AbstractLinkedListSetEntry,AssetLatchImpl,AssetManagerImpl,FlowImpl,LinkedListSetPromise,ManagedFunctionContainerImpl,ThreadProfilerImpl,ThreadStateImpl
public interface LinkedListSetEntry<I extends LinkedListSetEntry<I,O>,O>
Entry for a
LinkedListSet.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionObtains the owner of theLinkedListSetthat thisLinkedListSetEntrymay be added.getNext()Obtains the nextLinkedListSetEntryin theLinkedListSet.getPrev()Obtains the previousLinkedListSetEntryin theLinkedListSet.voidSpecifies the nextLinkedListSetEntryin theLinkedListSet.voidSpecifies the previousLinkedListSetEntryin theLinkedListSet.
-
Method Details
-
getLinkedListSetOwner
O getLinkedListSetOwner()Obtains the owner of the
LinkedListSetthat thisLinkedListSetEntrymay be added.LinkedListSetEntryinstances may only be added to theLinkedListSetthey were intended for and can not be shared betweenLinkedListSetinstances. This constraint:- ensures the integrity of the
FunctionState,Flow,ThreadState,ProcessStatestructure, and - improves uniqueness performance as
getNext()andgetPrev()both returningnullindicates not added
- Returns:
- Owner of the
LinkedListSetthat may contain thisLinkedListSetEntry.
- ensures the integrity of the
-
getPrev
I getPrev()Obtains the previous
LinkedListSetEntryin theLinkedListSet.Should this
LinkedListSetEntrynot be in aLinkedListSetthen this must returnnull.- Returns:
- Previous
LinkedListSetEntryin theLinkedListSet.
-
setPrev
Specifies the previousLinkedListSetEntryin theLinkedListSet.- Parameters:
entry- PreviousLinkedListSetEntryin theLinkedListSet.
-
getNext
I getNext()Obtains the next
LinkedListSetEntryin theLinkedListSet.Should this
LinkedListSetEntrynot be in aLinkedListSetthen this must returnnull.- Returns:
- Next
LinkedListSetEntryin theLinkedListSet.
-
setNext
Specifies the nextLinkedListSetEntryin theLinkedListSet.- Parameters:
entry- NextLinkedListSetEntryin theLinkedListSet.
-