Top Description Fields Constructors Methods
jnr.ffi.provider.converters

public final Class NativeLongConverter

extends AbstractDataConverter<NativeLong, Long>
Class Inheritance
Annotations
@NoContext
@NoContext
@Cacheable
@Cacheable
Imports
jnr.ffi.NativeLong, jnr.ffi.mapper.AbstractDataConverter, .DataConverter, .FromNativeContext, .FromNativeConverter, .ToNativeContext, .ToNativeConverter

Parameter and return type support for the old NativeLong type

Field Summary

Modifier and TypeField and Description
private static final DataConverter<J, N>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public NativeLong
public static DataConverter<NativeLong, Long>
public Class<Long>
public Long

Field Detail

INSTANCEback to summary
private static final DataConverter<J, N> INSTANCE

Constructor Detail

NativeLongConverterback to summary
public NativeLongConverter()

Method Detail

fromNativeback to summary
public NativeLong fromNative(Long value, FromNativeContext fromNativeContext)

Implements jnr.ffi.mapper.FromNativeConverter.fromNative.

getInstanceback to summary
public static DataConverter<NativeLong, Long> getInstance()
nativeTypeback to summary
public Class<Long> nativeType()

Implements jnr.ffi.mapper.ToNativeConverter.nativeType, jnr.ffi.mapper.FromNativeConverter.nativeType.

toNativeback to summary
public Long toNative(NativeLong value, ToNativeContext toNativeContext)

Implements jnr.ffi.mapper.ToNativeConverter.toNative.