public class StackKeeper extends Object
Constructor and Description |
---|
StackKeeper(Tag t) |
Modifier and Type | Method and Description |
---|---|
void |
add(Collection extends Element> elements)
Add all given elements to the stack, according to the natural order.
|
void |
add(Element content)
Add an element to this keepers stack.
|
List<Element> |
getElements() |
Tag |
getTag() |
public StackKeeper(Tag t)
t
- the tag
public void add(Element content)
content
- the element to add
public void add(Collection extends Element> elements)
elements
- collection of Element
public Tag getTag()
Copyright © 1998–2022. All rights reserved.