atg.svc.repository.service
Class TransactionalFragmentService.TransactionalFragmentComparator

java.lang.Object
  extended by atg.svc.repository.service.TransactionalFragmentService.TransactionalFragmentComparator
All Implemented Interfaces:
java.util.Comparator
Enclosing class:
TransactionalFragmentService

protected static class TransactionalFragmentService.TransactionalFragmentComparator
extends java.lang.Object
implements java.util.Comparator


Constructor Summary
protected TransactionalFragmentService.TransactionalFragmentComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
          Compares two transactional fragments (TF) by their display names ignoring case.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

TransactionalFragmentService.TransactionalFragmentComparator

protected TransactionalFragmentService.TransactionalFragmentComparator()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Compares two transactional fragments (TF) by their display names ignoring case.

Specified by:
compare in interface java.util.Comparator
Parameters:
o1 - The first TF to compare. The display name should not be null if possible.
o2 - The second TF to compare. The display name should not be null if possible.
Returns:
a negative integer, zero, or a positive integer as the the displayName of the first TF is greater than, equal to, or less than the displayName of the second TF, ignoring case considerations.