|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.novell.service.nds.NdsLong
Provides access to values of the Long attribute. It is used for attributes whose values are signed integers. The attributes for two longs match for equality if they are the same. The comparison for ordering uses signed integer rules. Attributes using this syntax can set size limits.
Matching Rules: Equality and Ordering
NdsSyntaxId
Method Summary | |
byte |
byteValue()
Returns the value of this NDS object as a byte. |
int |
compareTo(java.lang.Object anObject)
Compares two objects for ordering, or compares two strings lexicographically. |
double |
doubleValue()
Returns the value of this NDS object as a double. |
boolean |
equals(java.lang.Object anObject)
Compares two Objects for equality. |
float |
floatValue()
Returns the value of this NDS object as a float. |
int |
intValue()
Returns the value of this NDS object as an int. |
long |
longValue()
Returns the value of this NDS object as a long. |
short |
shortValue()
Returns the value of this NDS object as a short. |
java.lang.String |
toString()
Generates a string representation of the object. |
Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Method Detail |
public int compareTo(java.lang.Object anObject) throws java.lang.Exception
anObject
- The reference NDS Object with which
to compare.public boolean equals(java.lang.Object anObject)
The equals method implements the most discriminating possible equivalence relation on objects; that is, for any reference values X and Y, this method returns TRUE if and only if X and Y refer to the same object (X==Y has the value TRUE).
anObject
- The reference object with which to compare.public int intValue()
public long longValue()
public float floatValue()
public double doubleValue()
public byte byteValue()
public short shortValue()
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |