jnr.ffi.provider.converters
Class NativeLong64ArrayParameterConverter

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

public class NativeLong64ArrayParameterConverter
extends Object
implements ToNativeConverter<NativeLong[],long[]>

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


Nested Class Summary
static class NativeLong64ArrayParameterConverter.Out
           
 
Nested classes/interfaces inherited from interface jnr.ffi.mapper.ToNativeConverter
ToNativeConverter.Cacheable, ToNativeConverter.NoContext, ToNativeConverter.PostInvocation<J,N>
 
Method Summary
static ToNativeConverter<NativeLong[],long[]> getInstance(ToNativeContext toNativeContext)
           
 Class<long[]> nativeType()
           
 long[] 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[],long[]> getInstance(ToNativeContext toNativeContext)

toNative

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

nativeType

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


Copyright © 2013. All Rights Reserved.