|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deckfour.xes.model.buffered.XAbstractAttributeMapBufferedImpl
public abstract class XAbstractAttributeMapBufferedImpl
NikeFS2 virtual file system storage-based implementation for the XAttributeMap interface. Makes it possible to store maps of attributes on disk memory, transparent to the user and the using application.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
protected |
XAbstractAttributeMapBufferedImpl(NikeFS2StorageProvider provider,
XAttributeMapSerializer serializer)
Creates a new attribute map. |
protected |
XAbstractAttributeMapBufferedImpl(XAttributeMapSerializer serializer)
Creates a new attribute map. |
| Method Summary | |
|---|---|
void |
clear()
|
Object |
clone()
Creates a clone, i.e. |
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object value)
|
protected XAttributeMap |
deserialize()
Retrieves a quick-access representation of this attribute map for actual usage. |
Set<Map.Entry<String,XAttribute>> |
entrySet()
|
boolean |
equals(Object obj)
|
protected void |
finalize()
|
XAttribute |
get(Object key)
|
int |
hashCode()
|
boolean |
isEmpty()
|
Set<String> |
keySet()
|
XAttribute |
put(String key,
XAttribute value)
|
void |
putAll(Map<? extends String,? extends XAttribute> t)
|
XAttribute |
remove(Object key)
|
protected void |
serialize(XAttributeMap map)
Serializes the given attribute map to a disk-buffered representation. |
int |
size()
|
String |
toString()
|
Collection<XAttribute> |
values()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected XAbstractAttributeMapBufferedImpl(XAttributeMapSerializer serializer)
serializer - The serializer used to serialize this attribute map.
protected XAbstractAttributeMapBufferedImpl(NikeFS2StorageProvider provider,
XAttributeMapSerializer serializer)
provider - Storage provider to use for serialization.serializer - The serializer used to serialize this attribute map.| Method Detail |
|---|
protected XAttributeMap deserialize()
throws IOException
IOException
protected void serialize(XAttributeMap map)
throws IOException
map - Attribute map to be serialized.
IOExceptionpublic void clear()
clear in interface Map<String,XAttribute>public boolean containsKey(Object key)
containsKey in interface Map<String,XAttribute>public boolean containsValue(Object value)
containsValue in interface Map<String,XAttribute>public Set<Map.Entry<String,XAttribute>> entrySet()
entrySet in interface Map<String,XAttribute>public XAttribute get(Object key)
get in interface Map<String,XAttribute>public boolean isEmpty()
isEmpty in interface Map<String,XAttribute>public Set<String> keySet()
keySet in interface Map<String,XAttribute>
public XAttribute put(String key,
XAttribute value)
put in interface Map<String,XAttribute>public void putAll(Map<? extends String,? extends XAttribute> t)
putAll in interface Map<String,XAttribute>public XAttribute remove(Object key)
remove in interface Map<String,XAttribute>public int size()
size in interface Map<String,XAttribute>public Collection<XAttribute> values()
values in interface Map<String,XAttribute>public Object clone()
clone in interface XAttributeMapclone in class Objectpublic boolean equals(Object obj)
equals in interface Map<String,XAttribute>equals in class Object
protected void finalize()
throws Throwable
finalize in class ObjectThrowablepublic int hashCode()
hashCode in interface Map<String,XAttribute>hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||