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()
LabelStack
labelResources
in interface LabelStack
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object