HiRISE

HiRISE.HiReport.product
Class ProductOrderComparator

java.lang.Object
  extended by HiRISE.HiReport.product.ProductOrderComparator
All Implemented Interfaces:
Comparator<String>

public class ProductOrderComparator
extends Object
implements Comparator<String>

Ranks HiRISE products for user-friendly selection


Constructor Summary
ProductOrderComparator()
           
 
Method Summary
 int compare(String p1, String p2)
           
 
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

ProductOrderComparator

public ProductOrderComparator()
Method Detail

compare

public int compare(String p1,
                   String p2)
Specified by:
compare in interface Comparator<String>

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona