org.openmdx.compatibility.base.dataprovider.spi
Class AbstractComparator
java.lang.Object
org.openmdx.compatibility.base.dataprovider.spi.AbstractComparator
- All Implemented Interfaces:
- Comparator
- Direct Known Subclasses:
- DataproviderObjectComparator
public abstract class AbstractComparator
- extends Object
- implements Comparator
- Author:
- hburger
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
order
protected AttributeSpecifier[] order
AbstractComparator
public AbstractComparator(AttributeSpecifier[] order)
getValues
protected abstract Iterator getValues(Object candidate,
String attribute)
- Parameters:
attribute -
- Returns:
- an iterator for the values
- Throws:
ClassCastException - If the filter is not applicable to the candidate
compare
public int compare(Object left,
Object right)
- Specified by:
compare in interface Comparator
toString
public String toString()
- Overrides:
toString in class Object
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.