protected static final class ImmutableOrderedLeafSetNodeBuilder.ImmutableOrderedLeafSetNode<T> extends AbstractImmutableNormalizedNode<YangInstanceIdentifier.NodeIdentifier,Collection<LeafSetEntryNode<T>>> implements Immutable, OrderedLeafSetNode<T>
Modifier and Type | Method and Description |
---|---|
LeafSetEntryNode<T> |
getChild(int position)
Returns child node by position
|
com.google.common.base.Optional<LeafSetEntryNode<T>> |
getChild(YangInstanceIdentifier.NodeWithValue child)
Returns child node identified by provided key.
|
int |
getSize()
Returns count of child nodes
|
Collection<LeafSetEntryNode<T>> |
getValue()
Value of node.
|
protected boolean |
valueEquals(AbstractImmutableNormalizedNode<?,?> other) |
protected int |
valueHashCode() |
addToStringAttributes, equals, getIdentifier, getNodeType, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getIdentifier
getIdentifier
getNodeType
public com.google.common.base.Optional<LeafSetEntryNode<T>> getChild(YangInstanceIdentifier.NodeWithValue child)
NormalizedNodeContainer
getChild
in interface NormalizedNodeContainer<YangInstanceIdentifier.NodeIdentifier,YangInstanceIdentifier.NodeWithValue,LeafSetEntryNode<T>>
child
- Path argument identifying child nodeOptional.absent()
if child does not exists.protected int valueHashCode()
valueHashCode
in class AbstractImmutableNormalizedNode<YangInstanceIdentifier.NodeIdentifier,Collection<LeafSetEntryNode<T>>>
protected boolean valueEquals(AbstractImmutableNormalizedNode<?,?> other)
valueEquals
in class AbstractImmutableNormalizedNode<YangInstanceIdentifier.NodeIdentifier,Collection<LeafSetEntryNode<T>>>
public LeafSetEntryNode<T> getChild(int position)
OrderedNodeContainer
getChild
in interface OrderedNodeContainer<LeafSetEntryNode<T>>
position
- Position of child nodepublic int getSize()
OrderedNodeContainer
getSize
in interface OrderedNodeContainer<LeafSetEntryNode<T>>
public Collection<LeafSetEntryNode<T>> getValue()
NormalizedNode
getValue
in interface NormalizedNode<YangInstanceIdentifier.NodeIdentifier,Collection<LeafSetEntryNode<T>>>
getValue
in interface NormalizedNodeContainer<YangInstanceIdentifier.NodeIdentifier,YangInstanceIdentifier.NodeWithValue,LeafSetEntryNode<T>>
Copyright © 2017 OpenDaylight. All rights reserved.