Package jnr.ffi.provider.converters
Class Long32ArrayParameterConverter
- java.lang.Object
-
- jnr.ffi.provider.converters.Long32ArrayParameterConverter
-
- All Implemented Interfaces:
ToNativeConverter<long[],int[]>
- Direct Known Subclasses:
Long32ArrayParameterConverter.Out
public class Long32ArrayParameterConverter extends java.lang.Object implements ToNativeConverter<long[],int[]>
Converts a long[] array to a primitive int[] array parameter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Long32ArrayParameterConverter.Out
-
Nested classes/interfaces inherited from interface jnr.ffi.mapper.ToNativeConverter
ToNativeConverter.Cacheable, ToNativeConverter.NoContext, ToNativeConverter.PostInvocation<J,N>, ToNativeConverter.ToNative
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ToNativeConverter<long[],int[]>
getInstance(ToNativeContext toNativeContext)
java.lang.Class<int[]>
nativeType()
int[]
toNative(long[] array, ToNativeContext context)
-
-
-
Method Detail
-
getInstance
public static ToNativeConverter<long[],int[]> getInstance(ToNativeContext toNativeContext)
-
toNative
public int[] toNative(long[] array, ToNativeContext context)
- Specified by:
toNative
in interfaceToNativeConverter<long[],int[]>
-
nativeType
public java.lang.Class<int[]> nativeType()
- Specified by:
nativeType
in interfaceToNativeConverter<long[],int[]>
-
-