Example usage for org.apache.wicket.util.string StringList size

List of usage examples for org.apache.wicket.util.string StringList size

Introduction

In this page you can find the example usage for org.apache.wicket.util.string StringList size.

Prototype

@Override
public int size() 

Source Link

Usage

From source file:org.wicketstuff.extjs.tree.ExtTreePanel.java

License:Apache License

protected ExtTreeNode findNode(String nodeid) {
    StringList list = StringList.tokenize(nodeid, "_");
    ExtTreeNode node = root;//from   w ww. j a v a 2 s  .  c  om
    for (int i = 1; i < list.size(); i++)
        node = node.childNodes().get(Integer.valueOf(list.get(i)));

    return node;
}