Servertec
Jenie
1.0.1 09/04/2005

stec.jenie
Class UCHAR

java.lang.Object
  extended by stec.jenie.NativeObject
      extended by stec.jenie.UINT8
          extended by stec.jenie.UCHAR
All Implemented Interfaces:
NativeParameter

public class UCHAR
extends UINT8

Represents a native unsigned 8-bit character value.

Since:
1.0.0 12/05/2004
See Also:
UINT8

Field Summary
 
Fields inherited from class stec.jenie.UINT8
SIZEOF
 
Constructor Summary
UCHAR()
          Constructs a new unsigned 8-bit character.
UCHAR(byte value)
          Constucts a new unsigned 8-bit character set to the specified value.
UCHAR(Pointer pointer)
          Constructs a new unsigned 8-bit character from the specified pointer to an unsigned 8-bit character.
UCHAR(UCHAR value)
          Constucts a new unsigned 8-bit character set to the specified value.
 
Method Summary
 java.lang.Object clone()
          Returns a clone of this unsigned 8-bit character.
 
Methods inherited from class stec.jenie.UINT8
compareTo, compareTo, equals, getValue, hashCode, setValue, setValue, setValue, toString
 
Methods inherited from class stec.jenie.NativeObject
getAlignment, getNativeAddress, getNativeBuffer, getNativeBufferHandle, setNativeBuffer, setNativeBuffer, setNativeBuffer, size
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface stec.jenie.NativeParameter
getNativeBufferHandle
 

Constructor Detail

UCHAR

public UCHAR()
      throws java.lang.OutOfMemoryError
Constructs a new unsigned 8-bit character.

Defaults to 0.

Throws:
java.lang.OutOfMemoryError - if there is not enough free memory.

UCHAR

public UCHAR(byte value)
      throws java.lang.OutOfMemoryError
Constucts a new unsigned 8-bit character set to the specified value.

Parameters:
value - the value to use.
Throws:
java.lang.OutOfMemoryError - if there is not enough free memory.

UCHAR

public UCHAR(UCHAR value)
      throws java.lang.OutOfMemoryError
Constucts a new unsigned 8-bit character set to the specified value.

Parameters:
value - the value to use.
Throws:
java.lang.OutOfMemoryError - if there is not enough free memory.

UCHAR

public UCHAR(Pointer pointer)
Constructs a new unsigned 8-bit character from the specified pointer to an unsigned 8-bit character.

Parameters:
pointer - the pointer to the unsigned 8-bit character.
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.OutOfMemoryError
Returns a clone of this unsigned 8-bit character.

Specified by:
clone in interface NativeParameter
Overrides:
clone in class UINT8
Returns:
the clone of this unsigned 8-bit character.
Throws:
java.lang.OutOfMemoryError - if there is not enough free memory.

Servertec
Jenie
1.0.1 09/04/2005

Copyright © 2004-2005 Servertec. All rights reserved.