Interface OrderedNodeContainer<V extends NormalizedNode<?,?>>
-
- Type Parameters:
V
- child type
- All Superinterfaces:
Identifiable<YangInstanceIdentifier.NodeIdentifier>
,MixinNode
,NormalizedNode<YangInstanceIdentifier.NodeIdentifier,Collection<V>>
- All Known Subinterfaces:
OrderedLeafSetNode<T>
,OrderedMapNode
,UnkeyedListNode
- All Known Implementing Classes:
ImmutableOrderedLeafSetNodeBuilder.ImmutableOrderedLeafSetNode
,ImmutableOrderedMapNodeBuilder.ImmutableOrderedMapNode
,ImmutableUnkeyedListNodeBuilder.EmptyImmutableUnkeyedListNode
,ImmutableUnkeyedListNodeBuilder.ImmutableUnkeyedListNode
public interface OrderedNodeContainer<V extends NormalizedNode<?,?>> extends MixinNode, NormalizedNode<YangInstanceIdentifier.NodeIdentifier,Collection<V>>
Normalized Node container which preserves user supplied ordering and allows addressing of child elements by position.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description V
getChild(int position)
Returns child node by position.int
getSize()
Returns count of child nodes.-
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode
getIdentifier, getNodeType, getValue
-
-
-
-
Method Detail
-
getChild
V getChild(int position)
Returns child node by position.- Parameters:
position
- Position of child node- Returns:
- Child Node
- Throws:
IndexOutOfBoundsException
- Out of bound Exception
-
getSize
int getSize()
Returns count of child nodes.- Returns:
- count of child nodes.
-
-