HiRISE

HiRISE.HiPlan.PTF
Class State_File.Comparator

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

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

A comparator for state files. This comparator examines the state files' start times only. Note: Because this comparator considers only one component of the state file, it imposes orderings that are inconsistent with equals.


Constructor Summary
State_File.Comparator()
           
 
Method Summary
 int compare(State_File s1, State_File s2)
           
 
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

State_File.Comparator

public State_File.Comparator()
Method Detail

compare

public int compare(State_File s1,
                   State_File s2)
Specified by:
compare in interface Comparator<State_File>

HiRISE

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