public final class LongValue extends Value
This is an immutable class.
BooleanValue,
StringValue,
HexValue,
StreamValue,
Serialized Form| Constructor and Description |
|---|
LongValue(Syntax syntax,
long longValue)
Constructor that uses a long value.
|
LongValue(Syntax syntax,
java.lang.Long longValue)
Constructor that uses a Long object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getLongValue()
Returns the value as a Long.
|
java.lang.Object |
getObjectValue()
Returns the value as an Object of instance Long.
|
java.lang.String |
getSignedValue()
Returns the signed value.
|
long |
getValue()
Returns the value as a long.
|
compareTo, equals, getSyntax, isWithinBounds, toStringpublic LongValue(Syntax syntax, java.lang.Long longValue)
This constructor should only be called from a syntax strategy that deals with long values. No application should call this constructor directly.
syntax - Associated syntax for this long value.longValue - The Long object.public LongValue(Syntax syntax, long longValue)
This constructor should only be called from a syntax strategy which deals with long values. No application should call this constructor directly.
syntax - Associated syntax for this long value.longValue - The long value.public long getValue()
public java.lang.Long getLongValue()
public java.lang.Object getObjectValue()
getObjectValue in class Valuepublic java.lang.String getSignedValue()
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.