| Package | Description |
|---|---|
| org.sodeac.common.snapdeque |
A
SnapshotableDeque provides an implementation of Deque. |
| Modifier and Type | Method and Description |
|---|---|
static SnapshotableDeque.LinkMode |
SnapshotableDeque.LinkMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnapshotableDeque.LinkMode[] |
SnapshotableDeque.LinkMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected DequeNode.Link<E> |
DequeNode.createHead(SnapshotableDeque.SnapshotVersion<E> currentVersion,
SnapshotableDeque.LinkMode linkMode)
Internal helper method to create new link version
|
protected SnapshotableDeque.Eyebolt<E> |
SnapshotableDeque.Bollard.createHead(SnapshotableDeque.SnapshotVersion<E> currentVersion,
SnapshotableDeque.LinkMode linkMode) |
protected DequeNode.Link<E> |
DequeNode.Link.createNewerLink(SnapshotableDeque.SnapshotVersion<E> currentVersion,
SnapshotableDeque.LinkMode linkMode) |
protected SnapshotableDeque.Eyebolt<E> |
SnapshotableDeque.Eyebolt.createNewerLink(SnapshotableDeque.SnapshotVersion<E> currentVersion,
SnapshotableDeque.LinkMode linkMode) |
DequeNode<E> |
SnapshotableDeque.link(SnapshotableDeque.LinkMode linkMode,
E element)
link (append or prepend) new element to deque.
|
void |
INodeEventHandler.onLink(DequeNode<E> node,
SnapshotableDeque.LinkMode linkMode,
long version)
Notify if node is linked to deque
|
protected DequeNode.Link<E> |
DequeNode.setHead(DequeNode.Link<E> link,
SnapshotableDeque.LinkMode linkMode)
Internal helper method to set new link as head
|
Copyright © 2020. All rights reserved.