public final class StringStack extends Object
| Constructor and Description |
|---|
StringStack(int capacity)
Instantiates a StringStack with chosen max size.
|
| Modifier and Type | Method and Description |
|---|---|
String |
pop()
Removes the last string of the stack.
|
boolean |
push(String newText)
Puts string in the stack.
|
Copyright © 2019 CNRS. All rights reserved.