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 O
getLinkedListSetOwner()
Obtains the owner of theLinkedListSet
that thisLinkedListSetEntry
may be added.I
getNext()
Obtains the nextLinkedListSetEntry
in theLinkedListSet
.I
getPrev()
Obtains the previousLinkedListSetEntry
in theLinkedListSet
.void
setNext(I entry)
Specifies the nextLinkedListSetEntry
in theLinkedListSet
.void
setPrev(I entry)
Specifies the previousLinkedListSetEntry
in theLinkedListSet
.
-
-
-
Method Detail
-
getLinkedListSetOwner
O getLinkedListSetOwner()
Obtains the owner of the
LinkedListSet
that thisLinkedListSetEntry
may be added.LinkedListSetEntry
instances may only be added to theLinkedListSet
they were intended for and can not be shared betweenLinkedListSet
instances. This constraint:- ensures the integrity of the
FunctionState
,Flow
,ThreadState
,ProcessState
structure, and - improves uniqueness performance as
getNext()
andgetPrev()
both returningnull
indicates not added
- Returns:
- Owner of the
LinkedListSet
that may contain thisLinkedListSetEntry
.
- ensures the integrity of the
-
getPrev
I getPrev()
Obtains the previous
LinkedListSetEntry
in theLinkedListSet
.Should this
LinkedListSetEntry
not be in aLinkedListSet
then this must returnnull
.- Returns:
- Previous
LinkedListSetEntry
in theLinkedListSet
.
-
setPrev
void setPrev(I entry)
Specifies the previousLinkedListSetEntry
in theLinkedListSet
.- Parameters:
entry
- PreviousLinkedListSetEntry
in theLinkedListSet
.
-
getNext
I getNext()
Obtains the next
LinkedListSetEntry
in theLinkedListSet
.Should this
LinkedListSetEntry
not be in aLinkedListSet
then this must returnnull
.- Returns:
- Next
LinkedListSetEntry
in theLinkedListSet
.
-
setNext
void setNext(I entry)
Specifies the nextLinkedListSetEntry
in theLinkedListSet
.- Parameters:
entry
- NextLinkedListSetEntry
in theLinkedListSet
.
-
-