© 2005 BEA Systems, Inc.

com.bea.content.manager.sort
Class PropertyComparator

java.lang.Object
  extended bycom.bea.content.manager.sort.PropertyComparator
All Implemented Interfaces:
Comparator

public class PropertyComparator
extends Object
implements Comparator

Compares Properties in ascending order based on the Property name. The compare is case-insensitive.


Constructor Summary
PropertyComparator()
           
 
Method Summary
 int compare(Object obj1, Object obj2)
           
 boolean equals(Object obj)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyComparator

public PropertyComparator()
Method Detail

compare

public int compare(Object obj1,
                   Object obj2)
Specified by:
compare in interface Comparator

equals

public boolean equals(Object obj)
Specified by:
equals in interface Comparator

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved