Package it.unich.jgmp.nativelib
Class MpBitcntT
java.lang.Object
java.lang.Number
com.sun.jna.IntegerType
it.unich.jgmp.nativelib.MpBitcntT
- All Implemented Interfaces:
com.sun.jna.NativeMapped
,Serializable
public class MpBitcntT
extends com.sun.jna.IntegerType
The native
mp_bitcnt_t
data type, which may be a 32 or 64 bit
unsigned integer.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final int
The size of the nativemp_bitcnt_t
data type. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sun.jna.IntegerType
compare, compare, compare, doubleValue, equals, floatValue, fromNative, hashCode, intValue, longValue, nativeType, setValue, toNative, toString
Methods inherited from class java.lang.Number
byteValue, shortValue
-
Field Details
-
SIZE
static final int SIZEThe size of the nativemp_bitcnt_t
data type. This is equal to the size of a native long.
-
-
Constructor Details
-
MpBitcntT
public MpBitcntT()Create anmp_bitcnt_t
with value 0 -
MpBitcntT
public MpBitcntT(long value) Create amp_bitcnt_t
with the specifiedvalue
. The value is truncated whenmp_bitcnt_t
is a 32 bit integer.
-