org.pf.tools.cda.core.comparators
Class ClassContainerComparator

java.lang.Object
  extended by java.util.Observable
      extended by org.pf.model.ObservableObject
          extended by org.pf.model.ObservableModel
              extended by org.pf.tools.cda.core.comparators.AnalyzableElementComparator
                  extended by org.pf.tools.cda.core.comparators.ClassContainerComparator
All Implemented Interfaces:
java.util.Comparator

public class ClassContainerComparator
extends AnalyzableElementComparator

Comparator for GenericClassContainer objects

Version:
1.1
Author:
Manfred Duchrow

Field Summary
 
Fields inherited from class org.pf.tools.cda.core.comparators.AnalyzableElementComparator
FIELD_NAME_SORT_CRITERIA, FIELD_NAME_SORT_ORDER, OPT_ASCENDING, OPT_BY_CLASS_NAME, OPT_BY_CONTAINER, OPT_BY_PACKAGE, OPT_DESCENDING
 
Fields inherited from class org.pf.model.ObservableObject
EMPTY_OBSERVER_ARRAY
 
Constructor Summary
ClassContainerComparator()
          Initialize the new instance with default values.
 
Method Summary
 int compare(java.lang.Object obj1, java.lang.Object obj2)
          Compares the two given objects
 
Methods inherited from class org.pf.tools.cda.core.comparators.AnalyzableElementComparator
getAttributeValue, getSortCriteria, getSortOrder, setAttributeValue, setSortCriteriaToClass, setSortCriteriaToContainer, setSortCriteriaToPackage, setSortOrderAscending, setSortOrderDescending
 
Methods inherited from class org.pf.model.ObservableObject
deleteObservers, deleteViewRelatedObservers, getObservers
 
Methods inherited from class java.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

ClassContainerComparator

public ClassContainerComparator()
Initialize the new instance with default values.

Method Detail

compare

public int compare(java.lang.Object obj1,
                   java.lang.Object obj2)
Compares the two given objects