E - the type of elements in dequeprotected static class SnapshotableDeque.SnapshotVersion<E> extends Object implements Comparable<SnapshotableDeque.SnapshotVersion<E>>
| Modifier | Constructor and Description |
|---|---|
protected |
SnapshotVersion(SnapshotableDeque<E> deque,
long sequence) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSnapshot(DequeSnapshot<E> snapshot) |
protected void |
clear() |
int |
compareTo(SnapshotableDeque.SnapshotVersion<E> o) |
boolean |
equals(Object obj) |
protected Set<DequeSnapshot<E>> |
getOpenSnapshots() |
protected SnapshotableDeque<E> |
getParent() |
protected long |
getSequence() |
int |
hashCode() |
protected void |
removeSnapshot(DequeSnapshot<E> snapshot) |
String |
toString() |
protected SnapshotVersion(SnapshotableDeque<E> deque, long sequence)
protected void addSnapshot(DequeSnapshot<E> snapshot)
protected void removeSnapshot(DequeSnapshot<E> snapshot)
protected Set<DequeSnapshot<E>> getOpenSnapshots()
protected long getSequence()
protected SnapshotableDeque<E> getParent()
public int compareTo(SnapshotableDeque.SnapshotVersion<E> o)
compareTo in interface Comparable<SnapshotableDeque.SnapshotVersion<E>>protected void clear()
Copyright © 2020. All rights reserved.