public class LabelStack extends Object
Constructor and Description |
---|
LabelStack(String... labelNames) |
Modifier and Type | Method and Description |
---|---|
void |
addLabel(String label)
Adds a label to the bottom of the label stack.
|
void |
addLabelOnTop(String label)
Adds a label to the top of the label stack.
|
boolean |
equals(Object obj) |
List<String> |
getLabels() |
int |
hashCode() |
boolean |
hasLabel(String label) |
boolean |
removeLabel(String label) |
String |
toString() |
public LabelStack(String... labelNames)
public void addLabel(String label)
label
- public void addLabelOnTop(String label)
label
- public boolean hasLabel(String label)
public boolean removeLabel(String label)
Copyright © 2013. All Rights Reserved.