Package com.yahoo.config
Class InnerNode
- java.lang.Object
-
- com.yahoo.config.Node
-
- com.yahoo.config.InnerNode
-
- Direct Known Subclasses:
ConfigInstance
public abstract class InnerNode extends Node
Superclass for all inner nodes in aConfigInstance
.This class cannot have non-private members because such members will interfere with the members in the generated subclass.
- Author:
- gjoranv
-
-
Constructor Summary
Constructors Constructor Description InnerNode()
Creates a new InnerNode.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
protected static java.util.Map<java.lang.String,LeafNode<?>>
getAllDescendantLeafNodes(InnerNode node)
protected java.util.Map<java.lang.String,java.lang.Object>
getChildren()
protected java.util.Map<java.lang.String,Node>
getChildrenWithVectorsFlattened()
Returns a flat map of this node's direct children, including all NodeVectors' elements.int
hashCode()
void
postInitialize(java.lang.String configId)
OverridesNode.postInitialize(String)
.java.lang.String
toString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
postInitialize
public void postInitialize(java.lang.String configId)
OverridesNode.postInitialize(String)
. Perform post initialization on this nodes children.- Overrides:
postInitialize
in classNode
- Parameters:
configId
- The config id of this instance.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getChildren
protected java.util.Map<java.lang.String,java.lang.Object> getChildren()
-
getChildrenWithVectorsFlattened
protected java.util.Map<java.lang.String,Node> getChildrenWithVectorsFlattened()
Returns a flat map of this node's direct children, including all NodeVectors' elements. Keys are the node name, including index for vector elements, e.g. 'arr[0]'.
-
-