de.intarsys.nativec.type
Class NativePrimitive
java.lang.Object
de.intarsys.nativec.type.NativeObject
de.intarsys.nativec.type.NativePrimitive
- All Implemented Interfaces:
- INativeObject
- Direct Known Subclasses:
- NativeNumber, NativeString, NativeVoid
public abstract class NativePrimitive
- extends NativeObject
An abstract superclass for the implementation of primitive
NativeObject
instances. These NativeObject
isntances are not
constructed from other NativeObject
instances but implemented
directly in Java, having a fixed size.
Method Summary |
int |
getByteCount()
The number of bytes occupied by this. |
Methods inherited from class de.intarsys.nativec.type.NativeObject |
cast, createReference, getByte, getByteArray, getBytes, getInt, getMetaClass, getNativeHandle, getNativeHandle, getShort, getString, isNull, setByte, setByteArray, setInt, setNativeHandle, setShort, setString, toNestedString |
META
public static final NativePrimitive.MetaClass META
- The meta class instance
getByteCount
public int getByteCount()
- Description copied from class:
NativeObject
- The number of bytes occupied by this.
- Specified by:
getByteCount
in class NativeObject
- Returns:
- The number of bytes occupied by this.
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.