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
The meta class implementation
-
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectUtility method: return the given number as another number object with compatible byte sizecreateNative(INativeHandle handle) Create a newINativeObjectfrom aINativeHandle.createNative(Object value) Create anINativeObjectfor this type from the Java object.intThe size of the type in c memory.Utility method: return the java class whose instances have compatible byte sizeMethods inherited from class de.intarsys.nativec.type.NativeSimpleType
getPreferredBoundaryMethods inherited from class de.intarsys.nativec.type.NativeType
Array, lookup, Ref, register
-
Method Details
-
coerce
Utility method: return the given number as another number object with compatible byte size -
primitiveClass
Utility method: return the java class whose instances have compatible byte size -
createNative
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
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.
-