org.ujmp.core.collections.map
Class BufferedWriteMap<K,V>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- org.ujmp.core.collections.map.AbstractMap<K,V>
-
- org.ujmp.core.collections.map.BufferedWriteMap<K,V>
-
- All Implemented Interfaces:
- java.io.Flushable, java.io.Serializable, java.util.Map<K,V>, Wrapper<java.util.Map<K,V>>
public class BufferedWriteMap<K,V> extends AbstractMap<K,V> implements Wrapper<java.util.Map<K,V>>, java.io.Flushable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor and Description BufferedWriteMap(java.util.Map<K,V> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidclear()voidflush()Vget(java.lang.Object key)java.util.Map<K,V>getWrappedObject()Returns the object that is wrapped inside the wrapperjava.util.Set<K>keySet()Vput(K key, V value)Vremove(java.lang.Object key)voidsetWrappedObject(java.util.Map<K,V> object)intsize()-
Methods inherited from class org.ujmp.core.collections.map.AbstractMap
containsKey, containsValue, entrySet, get, getAsString, isEmpty, putAll, toString, values
-
-
-
-
Method Detail
-
clear
public void clear()
-
get
public V get(java.lang.Object key)
-
keySet
public java.util.Set<K> keySet()
-
remove
public V remove(java.lang.Object key)
-
size
public int size()
-
getWrappedObject
public java.util.Map<K,V> getWrappedObject()
Description copied from interface:WrapperReturns the object that is wrapped inside the wrapper- Specified by:
getWrappedObjectin interfaceWrapper<java.util.Map<K,V>>- Returns:
- the inner object
-
flush
public void flush() throws java.io.IOException- Specified by:
flushin interfacejava.io.Flushable- Throws:
java.io.IOException
-
-
DataMelt 3.0 © DataMelt by jWork.ORG