com.softslate.commerce.businessobjects.shipping
Class ShippingOptionComparator

java.lang.Object
  extended by com.softslate.commerce.businessobjects.shipping.ShippingOptionComparator
All Implemented Interfaces:
java.util.Comparator

public class ShippingOptionComparator
extends java.lang.Object
implements java.util.Comparator

Comparator class used to sort shipping options based on their price, from lowest to highest.

Author:
David Tobey

Constructor Summary
ShippingOptionComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 
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

ShippingOptionComparator

public ShippingOptionComparator()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator


Copyright © SoftSlate, LLC 2003–2005