| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final RevisionedChange | |
| private int | |
| private long | |
| private int | |
| private int | |
| private long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| private RevisionedChange | |
| private long | |
| public void | |
| public ChangeQueue. | |
| public boolean | |
| public boolean | |
| public C | next()
Implements org. Returns the next item and increases the current position by 1. |
| public C | |
| public C | |
| public C | prev()
Implements org. Returns the previous item and decreases the current position by 1. |
| public final void | |
| private RevisionedChange | |
| private int |
| capacity | back to summary |
|---|---|
| private final int capacity | |
| changes | back to summary |
|---|---|
| private final RevisionedChange<C>[] changes | |
| currentPosition | back to summary |
|---|---|
| private int currentPosition | |
| revision | back to summary |
|---|---|
| private long revision | |
| size | back to summary |
|---|---|
| private int size | |
| start | back to summary |
|---|---|
| private int start | |
| zeroPositionRevision | back to summary |
|---|---|
| private long zeroPositionRevision | |
| FixedSizeChangeQueue | back to summary |
|---|---|
public FixedSizeChangeQueue(int capacity)
| |
| arrayIndex | back to summary |
|---|---|
| private int arrayIndex(int queuePosition) | |
| fetch | back to summary |
|---|---|
| private RevisionedChange | |
| fetchRevisionForPosition | back to summary |
|---|---|
| private long fetchRevisionForPosition(int position) | |
| forgetHistory | back to summary |
|---|---|
| public void forgetHistory() Implements org.
| |
| getCurrentPosition | back to summary |
|---|---|
| public ChangeQueue. Implements org.
| |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements org.
| |
| hasPrev | back to summary |
|---|---|
| public boolean hasPrev() Implements org.
| |
| next | back to summary |
|---|---|
| public C next() Implements org. Doc from org. Returns the next item and increases the current position by 1.
| |
| peekNext | back to summary |
|---|---|
| public C peekNext() Implements org. Doc from org. Returns the next item. Current position stays unchanged.
| |
| peekPrev | back to summary |
|---|---|
| public C peekPrev() Implements org. Doc from org. Returns the previous item. Current position stays unchanged.
| |
| prev | back to summary |
|---|---|
| public C prev() Implements org. Doc from org. Returns the previous item and decreases the current position by 1.
| |
| push | back to summary |
|---|---|
| public final void push(C... changes) Implements org.
| |
| put | back to summary |
|---|---|
| private RevisionedChange | |
| relativize | back to summary |
|---|---|
| private int relativize(int arrayPos) | |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object other)
Overrides java. Indicates whether some other object is "equal to" this one. |
| private FixedSizeChangeQueue | |
| public boolean |
| arrayPos | back to summary |
|---|---|
| private final int arrayPos | |
| rev | back to summary |
|---|---|
| private final long rev | |
| QueuePositionImpl | back to summary |
|---|---|
| pack-priv QueuePositionImpl(int arrayPos, long rev) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getQueue | back to summary |
|---|---|
| private FixedSizeChangeQueue | |
| isValid | back to summary |
|---|---|
| public boolean isValid() Implements org.
| |