Package 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:
Flushable
,Serializable
,Map<K,
,V> Wrapper<Map<K,
V>>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.ujmp.core.collections.map.AbstractMap
beforeReadObject, beforeWriteObject, containsKey, containsValue, entrySet, get, getAsString, isEmpty, putAll, toString, values
Methods inherited from class java.util.AbstractMap
clone, equals, hashCode
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
map
-
writeBuffer
-
-
Constructor Details
-
BufferedWriteMap
-
-
Method Details
-
clear
public void clear() -
get
-
keySet
-
put
-
remove
-
size
public int size() -
getWrappedObject
Description copied from interface:Wrapper
Returns the object that is wrapped inside the wrapper- Specified by:
getWrappedObject
in interfaceWrapper<K>
- Returns:
- the inner object
-
setWrappedObject
-
flush
- Specified by:
flush
in interfaceFlushable
- Throws:
IOException
-