local.tomas.util.collections
Class SimpleMappedMap<K,F,T>
java.lang.Object
local.tomas.util.collections.MappedMap<K,K,F,T>
local.tomas.util.collections.SimpleMappedMap<K,F,T>
- Type Parameters:
K - key typeF - source typeT - target type
- All Implemented Interfaces:
- Map<K,T>
public class SimpleMappedMap<K,F,T>
- extends MappedMap<K,K,F,T>
- implements Map<K,T>
Simple mapped map.
- Author:
- tomas.teubner
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map |
clear, containsValue, equals, get, hashCode, isEmpty, put, putAll, remove, size, values |
SimpleMappedMap
public SimpleMappedMap(Class<K> keyClass,
Map<K,F> map,
ObjectMapping<T> valueMapping)
- Construct mapping.
- Parameters:
keyClass - key classmap - original mapvalueMapping - value mapping
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey in interface Map<K,T>- Overrides:
containsKey in class MappedMap<K,K,F,T>
entrySet
public Set<Map.Entry<K,T>> entrySet()
- Specified by:
entrySet in interface Map<K,T>- Overrides:
entrySet in class MappedMap<K,K,F,T>
keySet
public Set<K> keySet()
- Specified by:
keySet in interface Map<K,T>- Overrides:
keySet in class MappedMap<K,K,F,T>
Copyright © 2005-2007 Tomas Teubner. All Rights Reserved.