com.kenai.jaffl.byref
Class AbstractPrimitiveReference<T>

java.lang.Object
  extended by com.kenai.jaffl.byref.AbstractPrimitiveReference<T>
All Implemented Interfaces:
ByReference<T>
Direct Known Subclasses:
AddressByReference, ByteByReference, DoubleByReference, FloatByReference, IntByReference, LongLongByReference, ShortByReference

public abstract class AbstractPrimitiveReference<T>
extends Object
implements ByReference<T>

An abstract class for common PrimitiveReference functionality


Field Summary
protected  T value
           
 
Constructor Summary
AbstractPrimitiveReference(T value)
           
 
Method Summary
 T getValue()
           
 Class nativeType()
           
 void setValue(T value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.kenai.jaffl.byref.ByReference
marshal, nativeSize, unmarshal
 

Field Detail

value

protected T value
Constructor Detail

AbstractPrimitiveReference

public AbstractPrimitiveReference(T value)
Method Detail

nativeType

public Class nativeType()

setValue

public void setValue(T value)

getValue

public T getValue()
Specified by:
getValue in interface ByReference<T>


Copyright © 2011. All Rights Reserved.