|
|||||||||
| Home >> All >> com >> maddyhome >> idea >> vim >> [ key overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.maddyhome.idea.vim.key
Class ParentNode

java.lang.Objectcom.maddyhome.idea.vim.key.ParentNode
- All Implemented Interfaces:
- Node
- Direct Known Subclasses:
- BranchNode, RootNode
- public abstract class ParentNode
- extends java.lang.Object
- implements Node
- extends java.lang.Object
This abstract node is used as a base for any node that can contain child nodes
| Field Summary | |
protected java.util.HashMap |
children
|
| Constructor Summary | |
ParentNode()
|
|
| Method Summary | |
void |
addChild(Node child,
java.lang.Object key)
This adds a child node keyed by the supplied key |
Node |
getChild(java.lang.Object key)
Returns the child node associated with the supplied key. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
children
protected java.util.HashMap children
| Constructor Detail |
ParentNode
public ParentNode()
| Method Detail |
addChild
public void addChild(Node child, java.lang.Object key)
- This adds a child node keyed by the supplied key
getChild
public Node getChild(java.lang.Object key)
- Returns the child node associated with the supplied key. The key must be the same as used in
addChild(com.maddyhome.idea.vim.key.Node, java.lang.Object)55
|
|||||||||
| Home >> All >> com >> maddyhome >> idea >> vim >> [ key overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.maddyhome.idea.vim.key.ParentNode