jnr.ffi.provider.converters
Class NativeLong32ArrayParameterConverter

java.lang.Object
  extended by jnr.ffi.provider.converters.NativeLong32ArrayParameterConverter
All Implemented Interfaces:
ToNativeConverter<NativeLong[],int[]>
Direct Known Subclasses:
NativeLong32ArrayParameterConverter.Out

public class NativeLong32ArrayParameterConverter
extends Object
implements ToNativeConverter<NativeLong[],int[]>

Converts a NativeLong[] array to a primitive int[] array parameter


Nested Class Summary
static class NativeLong32ArrayParameterConverter.Out
           
 
Nested classes/interfaces inherited from interface jnr.ffi.mapper.ToNativeConverter
ToNativeConverter.Cacheable, ToNativeConverter.NoContext, ToNativeConverter.PostInvocation<J,N>
 
Method Summary
static ToNativeConverter<NativeLong[],int[]> getInstance(ToNativeContext toNativeContext)
           
 Class<int[]> nativeType()
           
 int[] toNative(NativeLong[] array, ToNativeContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ToNativeConverter<NativeLong[],int[]> getInstance(ToNativeContext toNativeContext)

toNative

public int[] toNative(NativeLong[] array,
                      ToNativeContext context)
Specified by:
toNative in interface ToNativeConverter<NativeLong[],int[]>

nativeType

public Class<int[]> nativeType()
Specified by:
nativeType in interface ToNativeConverter<NativeLong[],int[]>


Copyright © 2013. All Rights Reserved.