Package org.opendaylight.yangtools.yang.data.spi.node
package org.opendaylight.yangtools.yang.data.spi.node
Various bits and pieces useful when dealing with
NormalizedNode
s. Most visible here are convenience methods
for instantiating immutable implementations, which come in two flavors
- direct instantiations via
ImmutableNodes
methods NormalizedNode.Builder
s exposed via theNormalizedNode.BuilderFactory
available fromImmutableNodes.builderFactory()
Another bit of convenience are InterningLeafNodeBuilder
and InterningLeafSetNodeBuilder
, which
indirect instantiations through an Interner
-- this is useful when the set of
allowed values has been determined to have a sufficiently-low cardinality, in which case these will reuse value
nodes.
-
ClassDescriptionCloneableMap<K,
V> Utilities for creating immutable implementations of variousNormalizedNode
s.Utility class for sharing instances ofLeafSetEntryNode
s which have low cardinality -- e.g.Support utilities for dealing with Maps which would normally holdDataContainerChild
values, but are modified to eliminateLeafNode
instances.