com.bea.commerce.ebusiness.price.engine.pool
Class PriceComparator
java.lang.Object
com.bea.commerce.ebusiness.price.engine.pool.PriceComparator
- All Implemented Interfaces:
- Comparator, Serializable
- public class PriceComparator
- extends Object
- implements Comparator, Serializable
This class is used in conjunction with java.util.Collection and
ItemObjects to compare them by current price.
- See Also:
- Serialized Form
cName
public static final String cName
- See Also:
- Constant Field Values
PriceComparator
public PriceComparator()
compare
public int compare(Object objectA,
Object objectB)
- Specified by:
compare
in interface Comparator
- Throws:
ClassCastException
- if objects are not
ItemObject
s.
equals
public boolean equals(Object object)
- Specified by:
equals
in interface Comparator
Copyright © 2005 BEA Systems, Inc. All Rights Reserved