Package one.microstream.reference
Interface LinkReference<T>
- All Superinterfaces:
Iterable<T>
,LinkingReference<T>
,LinkingReferencing<T>
,Reference<T>
,Referencing<T>
- All Known Implementing Classes:
LinkReference.Default
public interface LinkReference<T> extends LinkingReference<T>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
LinkReference.ChainIterator<T>
static class
LinkReference.Default<T>
-
Method Summary
Modifier and Type Method Description LinkReference<T>
insert(LinkReference<T> linkedReference)
LinkReference<T>
link(LinkReference<T> linkedReference)
SetslinkedReference
as thisLinkedReference
object's linkedLinkedReference
object.LinkReference<T>
link(T nextRef)
Alias forlink(new LinkedReference(nextRef))
.static <T> LinkReference<T>
New(T... objects)
LinkReference<T>
next()
LinkReference<T>
removeNext()
LinkReference<T>
setNext(LinkReference<T> linkedReference)
SetslinkedReference
as thisLinkedReference
object's linkedLinkedReference
object.Methods inherited from interface one.microstream.reference.LinkingReferencing
hasNext, isNext, toArray, toChainString, toString
-
Method Details
-
next
LinkReference<T> next()- Specified by:
next
in interfaceLinkingReference<T>
- Specified by:
next
in interfaceLinkingReferencing<T>
-
setNext
SetslinkedReference
as thisLinkedReference
object's linkedLinkedReference
object.Note that the so far linked
LinkedReference
object is returned, not this object itself!- Parameters:
linkedReference
- the new linked reference- Returns:
- the so far linked
LinkedReference
object (NOT this!)
-
link
SetslinkedReference
as thisLinkedReference
object's linkedLinkedReference
object.Note that the reference is returned, not this object itself!
- Parameters:
linkedReference
- the new linked reference- Returns:
- the linked
LinkedReference
object (NOT this!)
-
link
Alias forlink(new LinkedReference(nextRef))
.- Parameters:
nextRef
- the object for the new linked reference- Returns:
- the linked
LinkedReference
object (NOT this!)
-
insert
-
removeNext
LinkReference<T> removeNext() -
New
-