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