net.sf.jaer.aemapper
Class LUTMapper
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<java.lang.Integer,int[]>
net.sf.jaer.aemapper.LUTMapper
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Integer,int[]>, AEMap
public class LUTMapper
- extends java.util.HashMap<java.lang.Integer,int[]>
- implements AEMap
Class that holds a lookup table mapper.
- Author:
- tobi
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
LUTMapper
public LUTMapper()
setMapping
public void setMapping(int src,
int[] dest)
getMapping
public int[] getMapping(int src)
- Description copied from interface:
AEMap
- get the array of destination addresses for a source address
- Specified by:
getMapping
in interface AEMap
- Parameters:
src
- the source address
- Returns:
- array of destination addresses
addToMapping
public void addToMapping(int src,
int[] toAdd)
clearMapping
public void clearMapping(int src)