src/main/java/net/christophermerrill/FancyFxTree/example/ExampleDataNode.java
ExampleDataNode pickRandom()
        {
        List<ExampleDataNode> all = toList();
        int random_index = new Random().nextInt(all.size());
        return all.get(random_index);
        }
/**
     * Picks a random node in the hierarchy.
     */
Picks a random node in the hierarchy.
Picks a random node in the hierarchy .
ExampleDataNode pickRandom()
        {
        List<ExampleDataNode> all = toList();
        int random_index = new Random().nextInt(all.size());
        return all.get(random_index);
        }
ExampleDataNode pickRandom ( ) { List < ExampleDataNode > all = toList ( ) ; int random_index = new Random ( ) . nextInt ( all . size ( ) ) ; return all . get ( random_index ) ; }
Picks a random node in the hierarchy.
Picks a random node in the hierarchy .