HiRISE

HiRISE.HiPlan.Utilities
Class SolarLongitudeInterval

java.lang.Object
  extended by HiRISE.HiPlan.Utilities.SolarLongitudeInterval
All Implemented Interfaces:
Comparable<SolarLongitudeInterval>

public class SolarLongitudeInterval
extends Object
implements Comparable<SolarLongitudeInterval>

An immutable closed circular solar longitude interval.

See Also:
Interval

Field Summary
static String ID
          Class identification name with source code version and date.
static double LONGITUDE_MAX
           
static double LONGITUDE_MIN
           
 
Constructor Summary
SolarLongitudeInterval(double start, double end)
           
 
Method Summary
 int compareTo(SolarLongitudeInterval i)
           
 boolean contains(double value)
           
 boolean equals(Object o)
           
 String format(int decimalPlaces)
           
 double getEnd()
           
 double getStart()
           
 int hashCode()
           
 String toString()
           
static SolarLongitudeInterval valueOf(String text)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public static final String ID
Class identification name with source code version and date.

See Also:
Constant Field Values

LONGITUDE_MIN

public static final double LONGITUDE_MIN
See Also:
Constant Field Values

LONGITUDE_MAX

public static final double LONGITUDE_MAX
See Also:
Constant Field Values
Constructor Detail

SolarLongitudeInterval

public SolarLongitudeInterval(double start,
                              double end)
Method Detail

getStart

public double getStart()

getEnd

public double getEnd()

contains

public boolean contains(double value)

format

public String format(int decimalPlaces)

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

compareTo

public int compareTo(SolarLongitudeInterval i)
Specified by:
compareTo in interface Comparable<SolarLongitudeInterval>

valueOf

public static SolarLongitudeInterval valueOf(String text)

HiRISE

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