com.mapquest
Class EncryptionType

java.lang.Object
  extended bycom.mapquest.EncryptionType

public final class EncryptionType
extends java.lang.Object

Constants for the types for encryption.


Field Summary
static EncryptionType None
          Deprecated. Use NONE instead.
static EncryptionType NONE
           
static EncryptionType RANDOM_SHUFFLE
           
static EncryptionType RandomShuffle
          Deprecated. Use RANDOM_SHUFFLE instead.
 
Method Summary
 boolean equals(java.lang.Object otherObject)
          Compares this object to the specified object.
static EncryptionType from_long(long value)
          Creates an object from an long value.
 int hashCode()
          Returns a hash code for this EncryptionType.
 long longValue()
          Returns an long 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

None

public static final EncryptionType None
Deprecated. Use NONE instead.


RandomShuffle

public static final EncryptionType RandomShuffle
Deprecated. Use RANDOM_SHUFFLE instead.


NONE

public static final EncryptionType NONE

RANDOM_SHUFFLE

public static final EncryptionType RANDOM_SHUFFLE
Method Detail

toString

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


longValue

public long longValue()
Returns an long type representing this object.


from_long

public static EncryptionType from_long(long value)
Creates an object from an long 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 EncryptionType object that has same attributes as this object.

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

hashCode

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

Returns:
a hash code value for this EncryptionType.