jnr.ffi.provider.converters
Class BoxedLong64ArrayParameterConverter

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

public class BoxedLong64ArrayParameterConverter
extends Object
implements ToNativeConverter<Long[],long[]>

Converts a Long[] array to a primitive 64bit long[] array parameter


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

Constructor Detail

BoxedLong64ArrayParameterConverter

public BoxedLong64ArrayParameterConverter(int parameterFlags)
Method Detail

getInstance

public static ToNativeConverter<Long[],long[]> getInstance(ToNativeContext toNativeContext)

toNative

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

nativeType

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


Copyright © 2013. All Rights Reserved.