| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final ArrayList | |
| private int | |
| private int | |
| private long | |
| private long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public ChangeQueue. | |
| public final boolean | |
| public final boolean | |
| public final C | next()
Implements org. Returns the next item and increases the current position by 1. |
| public final C | |
| public final C | |
| public final C | prev()
Implements org. Returns the previous item and decreases the current position by 1. |
| public final void | |
| private long |
| changes | back to summary |
|---|---|
| private final ArrayList<RevisionedChange<C>> changes | |
| currentPosition | back to summary |
|---|---|
| private int currentPosition | |
| forgottenCount | back to summary |
|---|---|
| private int forgottenCount | |
| revision | back to summary |
|---|---|
| private long revision | |
| zeroPositionRevision | back to summary |
|---|---|
| private long zeroPositionRevision | |
| UnlimitedChangeQueue | back to summary |
|---|---|
| public UnlimitedChangeQueue() | |
| forgetHistory | back to summary |
|---|---|
| public void forgetHistory() Implements org.
| |
| getCurrentPosition | back to summary |
|---|---|
| public ChangeQueue. Implements org.
| |
| hasNext | back to summary |
|---|---|
| public final boolean hasNext() Implements org.
| |
| hasPrev | back to summary |
|---|---|
| public final boolean hasPrev() Implements org.
| |
| next | back to summary |
|---|---|
| public final C next() Implements org. Doc from org. Returns the next item and increases the current position by 1.
| |
| peekNext | back to summary |
|---|---|
| public final C peekNext() Implements org. Doc from org. Returns the next item. Current position stays unchanged.
| |
| peekPrev | back to summary |
|---|---|
| public final C peekPrev() Implements org. Doc from org. Returns the previous item. Current position stays unchanged.
| |
| prev | back to summary |
|---|---|
| public final 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.
| |
| revisionForPosition | back to summary |
|---|---|
| private long revisionForPosition(int position) | |
| 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 UnlimitedChangeQueue | |
| public boolean |
| allTimePos | back to summary |
|---|---|
| private final int allTimePos | |
| rev | back to summary |
|---|---|
| private final long rev | |
| QueuePositionImpl | back to summary |
|---|---|
| pack-priv QueuePositionImpl(int allTimePos, 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 UnlimitedChangeQueue | |
| isValid | back to summary |
|---|---|
| public boolean isValid() Implements org.
| |