public interface Backtrackable
It specifies the interface of the backtrackable object which is being recorded by Backtrackable Manager.
Modifier and Type | Method and Description |
---|---|
int |
index()
It specifies the index/position of the backtrackable object.
|
int |
level()
It returns the level of the object (its last copy of the state).
|
void |
remove(int removedLevel)
It specifies the function being called by the manager upon backtracking.
|
void remove(int removedLevel)
removedLevel
- level that is being removed.int level()
int index()
Copyright © 2022. All rights reserved.