ua.gradsoft.javachecker.util
Class ImmutableMappedMap<K,VX,VY>
java.lang.Object
ua.gradsoft.javachecker.util.ImmutableMappedMap<K,VX,VY>
- All Implemented Interfaces:
- java.util.Map<K,VY>
public class ImmutableMappedMap<K,VX,VY>
- extends java.lang.Object
- implements java.util.Map<K,VY>
- Author:
- rssh
| Nested classes/interfaces inherited from interface java.util.Map |
java.util.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 |
equals, hashCode |
ImmutableMappedMap
public ImmutableMappedMap(java.util.Map<K,VX> origin,
Function<VX,VY> f)
- Creates a new instance of ImmutableMappedMap
clear
public void clear()
- Specified by:
clear in interface java.util.Map<K,VY>
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKey in interface java.util.Map<K,VY>
containsValue
public boolean containsValue(java.lang.Object value)
- Specified by:
containsValue in interface java.util.Map<K,VY>
get
public VY get(java.lang.Object key)
- Specified by:
get in interface java.util.Map<K,VY>
size
public int size()
- Specified by:
size in interface java.util.Map<K,VY>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface java.util.Map<K,VY>
keySet
public java.util.Set<K> keySet()
- Specified by:
keySet in interface java.util.Map<K,VY>
values
public java.util.Collection<VY> values()
- Specified by:
values in interface java.util.Map<K,VY>
entrySet
public java.util.Set<java.util.Map.Entry<K,VY>> entrySet()
- Specified by:
entrySet in interface java.util.Map<K,VY>
put
public VY put(K k,
VY v)
- Specified by:
put in interface java.util.Map<K,VY>
putAll
public void putAll(java.util.Map<? extends K,? extends VY> c)
- Specified by:
putAll in interface java.util.Map<K,VY>
remove
public VY remove(java.lang.Object key)
- Specified by:
remove in interface java.util.Map<K,VY>