public class DefaultLabelStack extends Object implements LabelStack
Constructor and Description |
---|
DefaultLabelStack(List<LabelResourceId> labelResources)
Creates label stack.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
List<LabelResourceId> |
labelResources()
Returns sequence of label resources comprising the path.
|
String |
toString() |
public DefaultLabelStack(List<LabelResourceId> labelResources)
labelResources
- contiguous label ids that comprise the pathpublic List<LabelResourceId> labelResources()
LabelStack
labelResources
in interface LabelStack