Servertec
Jenie
1.0.1 09/04/2005

stec.jenie
Class USHORT

java.lang.Object
  extended by stec.jenie.NativeObject
      extended by stec.jenie.UINT16
          extended by stec.jenie.USHORT
All Implemented Interfaces:
NativeParameter

public class USHORT
extends UINT16

Represents a native unsigned 16-bit short integer value.

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

Field Summary
 
Fields inherited from class stec.jenie.UINT16
SIZEOF
 
Constructor Summary
USHORT()
          Constructs a new unsigned 16-bit integer short.
USHORT(int value)
          Constucts a new unsigned 16-bit short integer set to the specified value.
USHORT(Pointer pointer)
          Constructs a new unsigned 16-bit short integer from the specified pointer to an unsigned 16-bit short integer.
USHORT(USHORT value)
          Constucts a new unsigned 16-bit short integer set to the specified value.
 
Method Summary
 java.lang.Object clone()
          Returns a clone of this unsigned 16-bit short integer.
 
Methods inherited from class stec.jenie.UINT16
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

USHORT

public USHORT()
       throws java.lang.OutOfMemoryError
Constructs a new unsigned 16-bit integer short.

Defaults to 0.

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

USHORT

public USHORT(int value)
       throws java.lang.OutOfMemoryError
Constucts a new unsigned 16-bit short integer set to the specified value.

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

USHORT

public USHORT(USHORT value)
       throws java.lang.OutOfMemoryError
Constucts a new unsigned 16-bit short integer set to the specified value.

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

USHORT

public USHORT(Pointer pointer)
Constructs a new unsigned 16-bit short integer from the specified pointer to an unsigned 16-bit short integer.

Parameters:
pointer - the pointer to the unsigned 16-bit short integer.
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.OutOfMemoryError
Returns a clone of this unsigned 16-bit short integer.

Specified by:
clone in interface NativeParameter
Overrides:
clone in class UINT16
Returns:
the clone of this unsigned 16-bit short integer.
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.