Package com.tailf.proto
Class ConfEUInt
Object
com.tailf.proto.ConfEObject
com.tailf.proto.ConfELong
com.tailf.proto.ConfEUInt
- All Implemented Interfaces:
Serializable
,Cloneable
Provides a Java representation of E integral types.
- See Also:
-
Constructor Summary
ConstructorDescriptionConfEUInt
(int i) Create an E integer from the given value.ConfEUInt
(ConfInputStream buf) Create an E integer from a stream containing an integer encoded in E external format. -
Method Summary
Methods inherited from class com.tailf.proto.ConfELong
byteValue, charValue, encode, equals, intValue, longValue, shortValue, toString, uIntValue, uShortValue
Methods inherited from class com.tailf.proto.ConfEObject
clone, decode
-
Constructor Details
-
ConfEUInt
Create an E integer from the given value.- Parameters:
i
- the non-negative int value to use.- Throws:
ConfERangeException
- if the value is negative.
-
ConfEUInt
Create an E integer from a stream containing an integer encoded in E external format.- Parameters:
buf
- the stream containing the encoded value.- Throws:
ConfEDecodeException
- if the buffer does not contain a valid external representation of an E integer.ConfERangeException
- if the value is too large to be represented as an int, or the value is negative.
-