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