|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.management.snmp.SnmpValue
com.sun.management.snmp.SnmpInt
com.sun.management.snmp.SnmpUnsignedInt
public abstract class SnmpUnsignedInt
Is the base for all SNMP syntaxes based on unsigned integers.
Field Summary | |
---|---|
static long |
MAX_VALUE
The largest value of the type unsigned int (2^32 - 1). |
Fields inherited from class com.sun.management.snmp.SnmpInt |
---|
value |
Fields inherited from interface com.sun.management.snmp.SnmpDataTypeEnums |
---|
ApplFlag, BitStringTag, BooleanTag, Counter64Tag, CounterTag, CtxtFlag, errEndOfMibViewTag, errNoSuchInstanceTag, errNoSuchObjectTag, GaugeTag, IntegerTag, IpAddressTag, NsapTag, NullTag, ObjectIdentiferTag, ObjectIdentifierTag, OctetStringTag, OpaqueTag, SequenceTag, TableTag, TimeticksTag, UintegerTag, UnknownSyntaxTag |
Constructor Summary | |
---|---|
SnmpUnsignedInt(int v)
Constructs a new SnmpUnsignedInt from the specified integer value. |
|
SnmpUnsignedInt(Integer v)
Constructs a new SnmpUnsignedInt from the specified Integer value. |
|
SnmpUnsignedInt(long v)
Constructs a new SnmpUnsignedInt from the specified long value. |
|
SnmpUnsignedInt(Long v)
Constructs a new SnmpUnsignedInt from the specified Long value. |
Method Summary | |
---|---|
String |
getTypeName()
Returns a textual description of the type object. |
Methods inherited from class com.sun.management.snmp.SnmpInt |
---|
appendToOid, clone, duplicate, intValue, longValue, nextOid, toInteger, toLong, toOid, toOid, toString |
Methods inherited from class com.sun.management.snmp.SnmpValue |
---|
isEndOfMibViewValue, isNoSuchInstanceValue, isNoSuchObjectValue, toAsn1String |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final long MAX_VALUE
unsigned int
(2^32 - 1).
Constructor Detail |
---|
public SnmpUnsignedInt(int v) throws IllegalArgumentException
SnmpUnsignedInt
from the specified integer value.
v
- The initialization value.
IllegalArgumentException
- The specified value is negative
or larger than SnmpUnsignedInt.MAX_VALUE
.public SnmpUnsignedInt(Integer v) throws IllegalArgumentException
SnmpUnsignedInt
from the specified Integer
value.
v
- The initialization value.
IllegalArgumentException
- The specified value is negative
or larger than SnmpUnsignedInt.MAX_VALUE
.public SnmpUnsignedInt(long v) throws IllegalArgumentException
SnmpUnsignedInt
from the specified long value.
v
- The initialization value.
IllegalArgumentException
- The specified value is negative
or larger than SnmpUnsignedInt.MAX_VALUE
.public SnmpUnsignedInt(Long v) throws IllegalArgumentException
SnmpUnsignedInt
from the specified Long
value.
v
- The initialization value.
IllegalArgumentException
- The specified value is negative
or larger than SnmpUnsignedInt.MAX_VALUE
.Method Detail |
---|
public String getTypeName()
getTypeName
in class SnmpInt
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |