All LDAP Classes
Internal LDAP Classes

com.novell.ldap.asn1
Class ASN1Numeric

java.lang.Object
  extended by com.novell.ldap.asn1.ASN1Object
      extended by 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
           
 
Constructor Summary
ASN1Numeric(ASN1Identifier id, int value)
           
ASN1Numeric(ASN1Identifier id, long value)
           
ASN1Numeric(ASN1Identifier id, java.lang.Long value)
           
 
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 com.novell.ldap.asn1.ASN1Object
encode, getEncoding, getIdentifier, setIdentifier, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

content

private java.lang.Long content
Constructor Detail

ASN1Numeric

ASN1Numeric(ASN1Identifier id,
            int value)

ASN1Numeric

ASN1Numeric(ASN1Identifier id,
            long value)

ASN1Numeric

ASN1Numeric(ASN1Identifier id,
            java.lang.Long value)
Method Detail

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.


All LDAP Classes
Internal LDAP Classes

Copyright ? 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000