|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--anthill.util.Backtrack
This class
Constructor Summary | |
Backtrack()
|
Method Summary | |
int |
get()
Writes the value i in the last position of the
backtrack data structure. |
void |
pop()
|
void |
push()
Resizes the backtrack structure by adding the space for a new element. |
void |
set(int i)
Writes the value i in the last position of the
backtrack data structure. |
int |
size()
Return the number of elements stored in this backtrack data structure. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Backtrack()
Method Detail |
public void push()
public void set(int i)
i
in the last position of the
backtrack data structure.
public int get()
i
in the last position of the
backtrack data structure.
public void pop()
public int size()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |