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 aLinkedListSet.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OgetLinkedListSetOwner()Obtains the owner of theLinkedListSetthat thisLinkedListSetEntrymay be added.IgetNext()Obtains the nextLinkedListSetEntryin theLinkedListSet.IgetPrev()Obtains the previousLinkedListSetEntryin theLinkedListSet.voidsetNext(I entry)Specifies the nextLinkedListSetEntryin theLinkedListSet.voidsetPrev(I entry)Specifies the previousLinkedListSetEntryin theLinkedListSet.
-
-
-
Method Detail
-
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
void setPrev(I entry)
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
void setNext(I entry)
Specifies the nextLinkedListSetEntryin theLinkedListSet.- Parameters:
entry- NextLinkedListSetEntryin theLinkedListSet.
-
-