Package de.intarsys.nativec.type
Class NativeLongLP64Type
- java.lang.Object
-
- de.intarsys.nativec.type.NativeType
-
- de.intarsys.nativec.type.NativeSimpleType
-
- de.intarsys.nativec.type.NativeNumberType
-
- de.intarsys.nativec.type.NativeLongLP64Type
-
- All Implemented Interfaces:
INativeType
public class NativeLongLP64Type extends NativeNumberType
The meta class implementation
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NativeLongLP64Type()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.Object
coerce(java.lang.Number value)
Utility method: return the given number as another number object with compatible byte sizeINativeObject
createNative(INativeHandle handle)
Create a newINativeObject
from aINativeHandle
.INativeObject
createNative(java.lang.Object value)
Create anINativeObject
for this type from the Java object.int
getByteCount()
The size of the type in c memory.-
Methods inherited from class de.intarsys.nativec.type.NativeSimpleType
getPreferredBoundary
-
Methods inherited from class de.intarsys.nativec.type.NativeType
Array, lookup, Ref, register
-
-
-
-
Method Detail
-
coerce
public static java.lang.Object coerce(java.lang.Number value)
Utility method: return the given number as another number object with compatible byte size
-
createNative
public INativeObject createNative(INativeHandle handle)
Description copied from interface:INativeType
Create a newINativeObject
from aINativeHandle
.- Specified by:
createNative
in interfaceINativeType
- Overrides:
createNative
in classNativeType
- Parameters:
handle
- The handle to memory.- Returns:
- The new
INativeObject
-
createNative
public INativeObject createNative(java.lang.Object value)
Description copied from interface:INativeType
Create anINativeObject
for this type from the Java object.- Specified by:
createNative
in interfaceINativeType
- Overrides:
createNative
in classNativeType
- Returns:
- The new
INativeObject
-
getByteCount
public int getByteCount()
Description copied from interface:INativeType
The size of the type in c memory.- Specified by:
getByteCount
in interfaceINativeType
- Overrides:
getByteCount
in classNativeType
- Returns:
- The size of the type in c memory.
-
-