com.novell.ldap.asn1
Class ASN1Numeric
java.lang.Object
com.novell.ldap.asn1.ASN1Object
com.novell.ldap.asn1.ASN1Numeric
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ASN1Enumerated, ASN1Integer
public abstract class ASN1Numeric
- extends ASN1Object
This abstract class is the base class
for all ASN1 numeric (integral) types. These include
ASN1Integer and ASN1Enumerated.
- See Also:
- Serialized Form
Field Summary |
private java.lang.Long |
content
|
Method Summary |
int |
intValue()
Returns the content of this ASN1Numeric object as an int. |
long |
longValue()
Returns the content of this ASN1Numeric object as a long. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
content
private java.lang.Long content
ASN1Numeric
ASN1Numeric(ASN1Identifier id,
int value)
ASN1Numeric
ASN1Numeric(ASN1Identifier id,
long value)
ASN1Numeric
ASN1Numeric(ASN1Identifier id,
java.lang.Long value)
intValue
public final int intValue()
- Returns the content of this ASN1Numeric object as an int.
longValue
public final long longValue()
- Returns the content of this ASN1Numeric object as a long.
Copyright ? 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000