jnr.ffi.mapper
Class CachingTypeMapper
java.lang.Object
jnr.ffi.mapper.AbstractSignatureTypeMapper
jnr.ffi.mapper.CachingTypeMapper
- All Implemented Interfaces:
- SignatureTypeMapper
public final class CachingTypeMapper
- extends AbstractSignatureTypeMapper
- implements SignatureTypeMapper
Caches Class -> native converter lookups.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachingTypeMapper
public CachingTypeMapper(SignatureTypeMapper mapper)
getFromNativeType
public FromNativeType getFromNativeType(SignatureType type,
FromNativeContext context)
- Specified by:
getFromNativeType in interface SignatureTypeMapper- Overrides:
getFromNativeType in class AbstractSignatureTypeMapper
getToNativeType
public ToNativeType getToNativeType(SignatureType type,
ToNativeContext context)
- Specified by:
getToNativeType in interface SignatureTypeMapper- Overrides:
getToNativeType in class AbstractSignatureTypeMapper
Copyright © 2013. All Rights Reserved.