Logo Search packages:      
Sourcecode: visualvm version File versions  Download package

int org::netbeans::lib::profiler::ui::components::treetable::AbstractTreeTableModel::getIndexOfChild ( Object  parent,
Object  child 
) [inline, inherited]

Returns the index of the child node in the parent node.

Although the method expects Objects because of the TreeModel contract, it assumes both parent and child are TreeTableNodes.

Definition at line 138 of file AbstractTreeTableModel.java.

        if ((parent == null) || (child == null)) {
            return -1;

        return ((CCTNode) parent).getIndexOfChild(child);

Generated by  Doxygen 1.6.0   Back to index