com.smardec.j2native
Class UInt8
java.lang.Object
|
+--com.smardec.j2native.Argument
|
+--com.smardec.j2native.NumericArgument
|
+--com.smardec.j2native.IntegerArgument
|
+--com.smardec.j2native.UInt8
- All Implemented Interfaces:
- java.lang.Cloneable, IntegerType, NumericType
- public class UInt8
- extends IntegerArgument
UInt8
represents a 8-bit unsigned integer value and type.
Constructor Summary |
UInt8()
Constructs a UInt8 object with a zero value. |
UInt8(byte value)
Constructs a UInt8 object with a zero value. |
Method Summary |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
int |
getLength()
Returns length in bytes. |
protected boolean |
isSigned()
Shows if number is signed |
java.lang.String |
toString()
|
Methods inherited from class com.smardec.j2native.IntegerArgument |
bits2Value, booleanValue, byteValue, doubleValue, floatValue, intValue, isFixedLength, isFloat, longValue, setValue, shortValue, value2Bits |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
UInt8
public UInt8()
- Constructs a
UInt8
object with a zero value.
UInt8
public UInt8(byte value)
- Constructs a
UInt8
object with a zero value.
isSigned
protected boolean isSigned()
- Description copied from class:
NumericArgument
- Shows if number is signed
- Specified by:
isSigned
in class NumericArgument
getLength
public int getLength()
- Description copied from class:
Argument
- Returns length in bytes.
- Specified by:
getLength
in class Argument
- Returns:
- an int
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
clone
public java.lang.Object clone()
- Description copied from class:
Argument
- Creates and returns a copy of this object.
- Specified by:
clone
in class Argument
- Returns:
- a clone of this instance.
Copyright © 2004-2005 Smardec. All Rights Reserved.