Package org.jline.reader.impl
Class UndoTree<T>
- java.lang.Object
-
- org.jline.reader.impl.UndoTree<T>
-
public class UndoTree<T> extends java.lang.Object
Simple undo tree. Note that the first added state can't be undone
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canRedo()
boolean
canUndo()
void
clear()
void
newState(T state)
void
redo()
void
undo()
-