K - The type of the key for the mapper.V - The type of the value for the mapper.public class DataMapAdapter<K,V> extends DataProviderAdapter<K,V> implements IDataMap
DataProviderAdapter| Constructor and Description |
|---|
DataMapAdapter(Class<K> kType,
Class<V> vType,
IMapper<K,V> mapper)
Initializes a new instance of the
DataMapAdapter class. |
| Modifier and Type | Method and Description |
|---|---|
void |
set(Object dataHolder,
Object value)
Sets an object value associated with the given data holder.
|
void |
setBool(Object dataHolder,
boolean value)
Sets a boolean value associated with the given data holder.
|
void |
setDouble(Object dataHolder,
double value)
Sets a double value associated with the given data holder.
|
void |
setInt(Object dataHolder,
int value)
Sets an integer value associated with the given data holder.
|
get, getBool, getDouble, getIntclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, getBool, getDouble, getIntpublic final void set(Object dataHolder, Object value)
IDataAcceptorThis method may throw an UnsupportedOperationException.
set in interface IDataAcceptorpublic final void setBool(Object dataHolder, boolean value)
IDataAcceptorThis method may throw an UnsupportedOperationException.
setBool in interface IDataAcceptorpublic final void setDouble(Object dataHolder, double value)
IDataAcceptorThis method may throw an UnsupportedOperationException.
setDouble in interface IDataAcceptorpublic final void setInt(Object dataHolder, int value)
IDataAcceptorThis method may throw an UnsupportedOperationException.
setInt in interface IDataAcceptor