intarsys nativeC library

de.intarsys.nativec.type
Class NativeNumber

java.lang.Object
  extended by de.intarsys.nativec.type.NativeObject
      extended by de.intarsys.nativec.type.NativeSimple
          extended by de.intarsys.nativec.type.NativeNumber
All Implemented Interfaces:
INativeObject
Direct Known Subclasses:
NativeByte, NativeInt, NativeLong, NativeShort

public abstract class NativeNumber
extends NativeSimple

An abstract superclass for the implementation of number NativeSimple.


Field Summary
 
Fields inherited from class de.intarsys.nativec.type.NativeObject
DEBUG, SHIFT_INT, SHIFT_LONG, SHIFT_LONGLONG, SIZE_BYTE, SIZE_INT, SIZE_LONG, SIZE_LONGLONG, SIZE_SHORT
 
Method Summary
abstract  byte byteValue()
          This as a java primitive byte value.
abstract  int intValue()
          This as a java primitive int value.
abstract  long longValue()
          This as a java primitive long value.
abstract  short shortValue()
          This as a java primitive short value.
 
Methods inherited from class de.intarsys.nativec.type.NativeSimple
getByteCount
 
Methods inherited from class de.intarsys.nativec.type.NativeObject
cast, createReference, getByte, getByteArray, getBytes, getCLong, getInt, getNativeHandle, getNativeHandle, getNativeType, getShort, getString, getWideString, isNull, setByte, setByteArray, setCLong, setInt, setNativeHandle, setShort, setString, setWideString, toNestedString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.intarsys.nativec.type.INativeObject
getValue, setValue
 

Method Detail

byteValue

public abstract byte byteValue()
This as a java primitive byte value.

Returns:
This as a java primitive byte value.

intValue

public abstract int intValue()
This as a java primitive int value.

Returns:
This as a java primitive int value.

longValue

public abstract long longValue()
This as a java primitive long value.

Returns:
This as a java primitive long value.

shortValue

public abstract short shortValue()
This as a java primitive short value.

Returns:
This as a java primitive short value.

intarsys nativeC library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.