Class ImmutableUnkeyedListNodeBuilder.EmptyImmutableUnkeyedListNode
java.lang.Object
org.opendaylight.yangtools.concepts.AbstractIdentifiable<YangInstanceIdentifier.PathArgument,I>
org.opendaylight.yangtools.yang.data.spi.node.AbstractNormalizedNode<YangInstanceIdentifier.NodeIdentifier,UnkeyedListNode>
org.opendaylight.yangtools.yang.data.impl.schema.builder.impl.ImmutableUnkeyedListNodeBuilder.EmptyImmutableUnkeyedListNode
- All Implemented Interfaces:
Identifiable<YangInstanceIdentifier.PathArgument>
,Immutable
,ItemOrder<ItemOrder.Ordered>
,ItemOrder.Ordered
,PrettyTreeAware
,DataContainerChild
,MixinNode
,NormalizedNode
,NormalizedNodeContainer<UnkeyedListEntryNode>
,OrderedNodeContainer<UnkeyedListEntryNode>
,OrderingAware
,OrderingAware.User
,UnkeyedListNode
- Enclosing class:
- ImmutableUnkeyedListNodeBuilder
protected static final class ImmutableUnkeyedListNodeBuilder.EmptyImmutableUnkeyedListNode
extends AbstractNormalizedNode<YangInstanceIdentifier.NodeIdentifier,UnkeyedListNode>
implements UnkeyedListNode
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.concepts.ItemOrder
ItemOrder.Ordered, ItemOrder.Unordered
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.data.api.schema.OrderingAware
OrderingAware.System, OrderingAware.User
-
Constructor Summary
ModifierConstructorDescriptionprotected
EmptyImmutableUnkeyedListNode
(YangInstanceIdentifier.NodeIdentifier nodeIdentifier) -
Method Summary
Modifier and TypeMethodDescriptionbody()
Returns the body of this node.childAt
(int position) Returns child node by position.protected Class<UnkeyedListNode>
int
size()
Return the logical size of this container body.protected boolean
valueEquals
(UnkeyedListNode other) protected int
Methods inherited from class org.opendaylight.yangtools.yang.data.spi.node.AbstractNormalizedNode
addToStringAttributes, equals, hashCode, prettyTree
Methods inherited from class org.opendaylight.yangtools.concepts.AbstractIdentifiable
getIdentifier, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opendaylight.yangtools.concepts.ItemOrder.Ordered
itemOrder
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedNodeContainer
isEmpty
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.OrderedNodeContainer
equals, getIdentifier, hashCode
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.OrderingAware.User
ordering
Methods inherited from interface org.opendaylight.yangtools.concepts.PrettyTreeAware
prettyTree
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.UnkeyedListNode
contract
-
Constructor Details
-
EmptyImmutableUnkeyedListNode
-
-
Method Details
-
body
Description copied from interface:NormalizedNodeContainer
Returns the body of this node. While the return value specifiesObject
, this method's return value has further semantics. The returned object must be a well-published contract, such asString
,Collection<NormalizedNode>
orDOMSource
.Returns iteration of all child nodes. Order of returned child nodes may be defined by subinterfaces.
- Specified by:
body
in interfaceNormalizedNode
- Specified by:
body
in interfaceNormalizedNodeContainer<UnkeyedListEntryNode>
- Returns:
- Returned value of this node.
-
childAt
Description copied from interface:OrderedNodeContainer
Returns child node by position.- Specified by:
childAt
in interfaceOrderedNodeContainer<UnkeyedListEntryNode>
- Parameters:
position
- Position of child node- Returns:
- Child Node
-
size
public int size()Description copied from interface:NormalizedNodeContainer
Return the logical size of this container body. The default implementation defers tobody().size()
.- Specified by:
size
in interfaceNormalizedNodeContainer<UnkeyedListEntryNode>
- Returns:
- Size of this container's body.
-
implementedType
- Specified by:
implementedType
in classAbstractNormalizedNode<YangInstanceIdentifier.NodeIdentifier,
UnkeyedListNode>
-
valueHashCode
protected int valueHashCode()- Specified by:
valueHashCode
in classAbstractNormalizedNode<YangInstanceIdentifier.NodeIdentifier,
UnkeyedListNode>
-
valueEquals
- Specified by:
valueEquals
in classAbstractNormalizedNode<YangInstanceIdentifier.NodeIdentifier,
UnkeyedListNode>
-