|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.h2gis.drivers.gpx.model.StringStack
public final class StringStack
This class is a stack to keep in memory the structure of the GPX file.
| Constructor Summary | |
|---|---|
StringStack(int capacity)
Instantiates a StringStack with chosen max size. |
|
| Method Summary | |
|---|---|
String |
pop()
Removes the last string of the stack. |
boolean |
push(String newText)
Puts string in the stack. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringStack(int capacity)
capacity - max size| Method Detail |
|---|
public boolean push(String newText)
newText - A new string to put in the stack
public String pop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||