Public Member Functions

cern.gp.nodes.children.ChildrenManager Interface Reference

Inheritance diagram for cern.gp.nodes.children.ChildrenManager:
cern.gp.nodes.children.ChildrenListManager cern.gp.nodes.children.ChildrenMapManager cern.gp.nodes.children.DefaultChildrenListManager cern.gp.nodes.children.DefaultChildrenMapManager

List of all members.

Public Member Functions

Comparator getComparator ()

Detailed Description

A class implementing this interface is able to manage a collection of nodes that can be sorted or not depending of the given Comparator.

See also:
BeanComparatorAdapter
Version:
Revision:
1.2
Date:
2006/09/25 08:52:36
Author:
Lionel Mestre

Member Function Documentation

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.

Returns:
a comparator for the node or null
See also:
BeanComparatorAdapter

Implemented in cern.gp.nodes.children.DefaultChildrenListManager, and cern.gp.nodes.children.DefaultChildrenMapManager.

Referenced by cern.gp.nodes.children.ChildrenFactory.createChildren().


The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties