Public Member Functions | |
Comparator | getComparator () |
A class implementing this interface is able to manage a collection of nodes that can be sorted or not depending of the given Comparator
.
Comparator cern.gp.nodes.children.ChildrenManager.getComparator | ( | ) |
Returns a comparator that can be used to sort the collection of nodes managed by this class. null
can be returned to specify that the collection should not be sorted. If a comparator is returned it should be able to compare two nodes belonging to the children managed by this manager. An adapter can be used to deal with the bean associated to the node instead of the nodes itself.
null
Implemented in cern.gp.nodes.children.DefaultChildrenListManager, and cern.gp.nodes.children.DefaultChildrenMapManager.
Referenced by cern.gp.nodes.children.ChildrenFactory.createChildren().