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, getInt
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get, getBool, getDouble, getInt
public final void set(Object dataHolder, Object value)
IDataAcceptor
This method may throw an UnsupportedOperationException.
set
in interface IDataAcceptor
public final void setBool(Object dataHolder, boolean value)
IDataAcceptor
This method may throw an UnsupportedOperationException.
setBool
in interface IDataAcceptor
public final void setDouble(Object dataHolder, double value)
IDataAcceptor
This method may throw an UnsupportedOperationException.
setDouble
in interface IDataAcceptor
public final void setInt(Object dataHolder, int value)
IDataAcceptor
This method may throw an UnsupportedOperationException.
setInt
in interface IDataAcceptor