|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Children
Class that maintains the ordered list of ChildNode
instances yet allows fast access to the children with a specified
name.
Method Summary | |
---|---|
ChildNode |
getChild(Path.Segment segment)
Get the child given the path segment. |
ChildNode |
getChild(UUID uuid)
Get the child with the given UUID. |
Iterator<ChildNode> |
getChildren(Name name)
Get the same-name-sibling children that all share the supplied name, in order of increasing SNS index. |
int |
getCountOfSameNameSiblingsWithName(Name name)
Get the number of same-name-siblings that all share the supplied name. |
UUID |
getParentUuid()
The UUID of the parent node. |
int |
size()
Get the number of children. |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
int size()
UUID getParentUuid()
ChildNode getChild(UUID uuid)
uuid
- the UUID of the child node
ChildNode getChild(Path.Segment segment)
segment
- the path segment for the child, which includes the name
and
one-based same-name-sibling index
; may not be null
Iterator<ChildNode> getChildren(Name name)
name
- the name for the children; may not be null
int getCountOfSameNameSiblingsWithName(Name name)
name
- the name for the children; may not be null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |