class ResultTree {

    public boolean insert(Result result) {
        ResultTree parent = getInsertPosition(result);
        if (parent != null) {
            parent.getChildren().add(new ResultTree(result));
            return true;
        }
        return false;
    }

    public  ResultTree(Result root);

}