1.0.0

org.eclipse.soda.dk.data
Class LongitudeData

java.lang.Object
  extended by java.lang.Number
      extended by org.eclipse.soda.dk.data.Fraction
          extended by org.eclipse.soda.dk.data.Degree
              extended by org.eclipse.soda.dk.data.LongitudeData
All Implemented Interfaces:
java.io.Serializable, Numeric

public class LongitudeData
extends Degree

Version:
1.0.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.eclipse.soda.dk.data.Degree
DENOMINATOR, DOUBLE_DENOMINATOR, FLOAT_DENOMINATOR, SECONDS_PER_DEGREE, SECONDS_PER_DEGREE_LONG, THOUSAND
 
Constructor Summary
LongitudeData(int value)
          Constructs an instance of this class from the specified value parameter.
LongitudeData(java.lang.String value)
          Constructs an instance of this class from the specified value parameter.
 
Method Summary
 boolean equals(java.lang.Object compare)
          Equals with the specified compare parameter and return the boolean result.
 java.lang.String toString()
          Returns the string value.
 
Methods inherited from class org.eclipse.soda.dk.data.Degree
add, divide, doubleValue, floatValue, getFixedDegree, getThousandSeconds, intDenominator, intNumerator, intValue, longDenominator, longNumerator, longValue, multiply, negate, parse, parseBillionDegree, parseMetarDegree, parseNmeaDegree, reciprocal, subtract, toDegreeString, toString
 
Methods inherited from class org.eclipse.soda.dk.data.Fraction
hashCode
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LongitudeData

public LongitudeData(java.lang.String value)
              throws java.lang.NumberFormatException
Constructs an instance of this class from the specified value parameter.

Parameters:
value - The value (String) parameter.
Throws:
java.lang.NumberFormatException - Number Format Exception.
See Also:
LongitudeData(int)

LongitudeData

public LongitudeData(int value)
Constructs an instance of this class from the specified value parameter.

Parameters:
value - The value (int) parameter.
See Also:
LongitudeData(String)
Method Detail

equals

public boolean equals(java.lang.Object compare)
Equals with the specified compare parameter and return the boolean result.

Overrides:
equals in class Degree
Parameters:
compare - The compare (Object) parameter.
Returns:
Results of the equals (boolean) value.
See Also:
Object.equals(Object)

toString

public java.lang.String toString()
Returns the string value.

Overrides:
toString in class Degree
Returns:
The string (String) value.
See Also:
Object.toString(), Degree.toDegreeString(int,String), Degree.toString(int)

1.0.0

Copyright (c) 1999, 2007 IBM