Basic API Structure #2
@ -10,7 +10,7 @@ import java.util.*;
|
|||||||
*/
|
*/
|
||||||
public final class UnlimitedChangeManager<C extends Change> implements ChangeManager<C> {
|
public final class UnlimitedChangeManager<C extends Change> implements ChangeManager<C> {
|
||||||
|
|
||||||
private final List<C> changes = new LinkedList<>();
|
private final List<C> changes = new ArrayList<>();
|
||||||
|
|
||||||
private int index = -1;
|
private int index = -1;
|
||||||
private int markedIndex = -1;
|
private int markedIndex = -1;
|
||||||
|
Reference in New Issue
Block a user