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 tagpublic void add(Element content)
content
- the element to addpublic void add(Collection<? extends Element> elements)
elements
- collection of Elementpublic Tag getTag()
Copyright © 2017. All rights reserved.