com.mapquest
Class CoordinateType

java.lang.Object
  extended bycom.mapquest.CoordinateType

public final class CoordinateType
extends java.lang.Object

Constants to specify the type of coordinate the primitives should use.


Field Summary
static CoordinateType DISPLAY
           
static CoordinateType GEOGRAPHIC
           
static CoordinateType mqDisplay
          Deprecated. Use DISPLAY instead.
static CoordinateType mqGeographic
          Deprecated. Use GEOGRAPHIC instead.
 
Method Summary
 boolean equals(java.lang.Object otherObject)
          Compares this object to the specified object.
static CoordinateType from_int(int value)
          Deprecated. Use fromInt instead.
static CoordinateType fromInt(int value)
          Creates an object from an integer value.
 int hashCode()
          Returns a hash code for this CoordinateType.
 int intValue()
          Returns an int type representing this object.
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

mqGeographic

public static final CoordinateType mqGeographic
Deprecated. Use GEOGRAPHIC instead.


mqDisplay

public static final CoordinateType mqDisplay
Deprecated. Use DISPLAY instead.


GEOGRAPHIC

public static final CoordinateType GEOGRAPHIC

DISPLAY

public static final CoordinateType DISPLAY
Method Detail

toString

public java.lang.String toString()
Returns a string representation of this object.


intValue

public int intValue()
Returns an int type representing this object.


fromInt

public static CoordinateType fromInt(int value)
Creates an object from an integer value.


from_int

public static CoordinateType from_int(int value)
Deprecated. Use fromInt instead.

Creates an object from an integer value.


equals

public boolean equals(java.lang.Object otherObject)
Compares this object to the specified object. The result is true if and only if the argument is not null and is a CoordinateType object that has same attributes as this object.

Parameters:
otherObject - the object to compare this CoordinateType against.
Returns:
true if the CoordinateType objects are equal; false otherwise.

hashCode

public int hashCode()
Returns a hash code for this CoordinateType.

Returns:
a hash code value for this CoordinateType.