| 程序包 | 说明 |
|---|---|
| info.monitorenter.cpdetector.io | |
| info.monitorenter.cpdetector.util.collections |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
JarArchive.buildTree(ITreeNode node,
JarArchive element) |
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ITreeNode.DefaultTreeNode
Plain-forward implementation of the
ITreeNodeinterface. |
class |
TreeNodeUniqueChildren
An
ITreeNode implementation, that does
not allow equal m_children of one common parent node. |
| 限定符和类型 | 字段和说明 |
|---|---|
static ITreeNode |
ITreeNode.ROOT
Returned from
getParent() of the root node of the tree. |
| 限定符和类型 | 方法和说明 |
|---|---|
ITreeNode |
ITreeNode.addChild(Object userObject)
Comfortable method for adding child nodes.
|
ITreeNode |
ITreeNode.DefaultTreeNode.addChild(Object userObject)
The given Object will be stored in a newly created
ITreeNode which will get assigned this node to be it's father,
while this instance will store the new node in it's list
(unconditionally: e.g. no test, if already contained).
|
ITreeNode[] |
ITreeNode.addChildren(Object[] userObjects)
Adds all given Objects to newly instanciated ITreeNode instances
that are added to the set of this instances childs.
|
ITreeNode[] |
ITreeNode.DefaultTreeNode.addChildren(Object[] userObjects) |
ITreeNode |
ITreeNode.getParent()
Get the parent node of this ITreeNode.
|
ITreeNode |
ITreeNode.DefaultTreeNode.getParent() |
ITreeNode |
TreeNodeUniqueChildren.newInstance() |
ITreeNode |
ITreeNode.newInstance()
Generic operations in default implementations may need to allocate new
instances but have to choose the right type to support the provided
invariants.
|
ITreeNode |
ITreeNode.DefaultTreeNode.newInstance() |
ITreeNode |
ITreeNode.remove(Object userObject)
Remove the ITreeNode and it's whole subree!
|
ITreeNode |
ITreeNode.DefaultTreeNode.remove(Object userObject)
The search is a "prefix-search":
A
/ \
B C
/ \
D E
The search will be done in the order: A,B,D,E,C.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
TreeNodeUniqueChildren.addChildNode(ITreeNode node)
If the given argument is already a child node of this one (by the means of
the equals method), it will replace the old node but gets the childs of the
old node.
|
boolean |
ITreeNode.addChildNode(ITreeNode node)
Adds the given ITreeNode to the set of this instances childs.
|
boolean |
ITreeNode.DefaultTreeNode.addChildNode(ITreeNode node)
The given ITreeNode will become this node to be it's father,
while this instance will store the given node in it's list if not null
(unconditionally: e.g. no test, if already contained).
|
boolean |
ITreeNode.addChildNodes(ITreeNode[] nodes)
Adds all given ITreeNode instances to the set of this instances
childs.
|
boolean |
ITreeNode.DefaultTreeNode.addChildNodes(ITreeNode[] nodes) |
int |
ITreeNode.DefaultTreeNode.compareTo(ITreeNode o) |
boolean |
ITreeNode.containsNode(ITreeNode node)
Find out, wether the given ITreeNode is a member of this node's
subtree.
|
boolean |
ITreeNode.DefaultTreeNode.containsNode(ITreeNode node) |
boolean |
ITreeNode.removeChild(ITreeNode node)
Remove the given ITreeNode from this node.
|
boolean |
ITreeNode.DefaultTreeNode.removeChild(ITreeNode node) |
void |
ITreeNode.setParent(ITreeNode parent)
This method should not be called from outside.
|
void |
ITreeNode.DefaultTreeNode.setParent(ITreeNode parent) |
| 构造器和说明 |
|---|
ITreeNode.DefaultTreeNode(Object userObject,
ITreeNode child)
Create a ITreeNode without a parent that carries the given
user Object and has the given ITreeNode as child.
|
ITreeNode.DefaultTreeNode(Object userObject,
ITreeNode[] children)
Create a ITreeNode without a parent that carries the given
user Object and has the given ITreeNode instances as
m_children.
|
TreeNodeUniqueChildren(Object userObject,
ITreeNode child) |
TreeNodeUniqueChildren(Object userObject,
ITreeNode[] children) |
Copyright © 2016. All rights reserved.