HiRISE

HiRISE.HiPlan.HiSEAS
Class Rules.Comparator

java.lang.Object
  extended by HiRISE.HiPlan.HiSEAS.Rules.Comparator
All Implemented Interfaces:
Comparator<Rules>
Enclosing class:
Rules

public static class Rules.Comparator
extends Object
implements Comparator<Rules>

A comparator for HiSEAS rules. This comparator examines the two rules sets' latitudes only. Note: Because this comparator considers only one component of the rules, it imposes orderings that are inconsistent with equals.

See Also:
Interval

Constructor Summary
Rules.Comparator()
           
 
Method Summary
 int compare(Rules r1, Rules r2)
           
 
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

Rules.Comparator

public Rules.Comparator()
Method Detail

compare

public int compare(Rules r1,
                   Rules r2)
Specified by:
compare in interface Comparator<Rules>

HiRISE

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