Class ReadOnlyMap<K,V>
- java.lang.Object
-
- org.terrier.structures.collections.ReadOnlyMap<K,V>
-
- Type Parameters:
K- Type of the keysV- Type of the values
- All Implemented Interfaces:
java.util.Map<K,V>
- Direct Known Subclasses:
FSOrderedMapFile
public abstract class ReadOnlyMap<K,V> extends java.lang.Object implements java.util.Map<K,V>A null implementation of java.util.Map that does nothing.- Since:
- 3.0
- Author:
- Craig Macdonald
-
-
Constructor Summary
Constructors Constructor Description ReadOnlyMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()Remove all entries from this mapVput(K key, V value)Vremove(java.lang.Object _key)
-