com.bea.commerce.ebusiness.price.engine
Class DiscountComparator
java.lang.Object
com.bea.commerce.ebusiness.price.engine.DiscountComparator
- All Implemented Interfaces
- Serializable, Comparator
Deprecated
@Deprecated
public class DiscountComparator
- extends Object
- implements Comparator, Serializable
This class is used in conjunction with java.util.Collection and
QualificationDiscountDef objects to compare them by priority.
We assume that only order or only item discounts will be presented
to this comparator.
- See Also
- Serialized Form
Method Summary |
int |
compare(Object objectA,
Object objectB)
Deprecated throws class cast exception if objects are not
QualificationDiscountDefs. |
boolean |
equals(Object object)
Deprecated |
cName
public static final String cName
- Deprecated
- See Also
- Constants Summary
DiscountComparator
public DiscountComparator()
- Deprecated
compare
public int compare(Object objectA,
Object objectB)
- Deprecated
- throws class cast exception if objects are not
QualificationDiscountDefs.
- Specified by:
compare
in interface Comparator
equals
public boolean equals(Object object)
- Deprecated
- Specified by:
equals
in interface Comparator
- Overrides:
equals
in class Object
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.