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 protectedNativeLongLP64Type()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.Objectcoerce(java.lang.Number value)Utility method: return the given number as another number object with compatible byte sizeINativeObjectcreateNative(INativeHandle handle)Create a newINativeObjectfrom aINativeHandle.INativeObjectcreateNative(java.lang.Object value)Create anINativeObjectfor this type from the Java object.intgetByteCount()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:INativeTypeCreate a newINativeObjectfrom aINativeHandle.- Specified by:
createNativein interfaceINativeType- Overrides:
createNativein classNativeType- Parameters:
handle- The handle to memory.- Returns:
- The new
INativeObject
-
createNative
public INativeObject createNative(java.lang.Object value)
Description copied from interface:INativeTypeCreate anINativeObjectfor this type from the Java object.- Specified by:
createNativein interfaceINativeType- Overrides:
createNativein classNativeType- Returns:
- The new
INativeObject
-
getByteCount
public int getByteCount()
Description copied from interface:INativeTypeThe size of the type in c memory.- Specified by:
getByteCountin interfaceINativeType- Overrides:
getByteCountin classNativeType- Returns:
- The size of the type in c memory.
-
-