|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
See the overall description on OzoneCollection
.
Although a Map
is technically not a Collection
,
there are enough similarities to justify placing the OzoneMap
and its derived classes and interfaces into the org.ozoneDB.collections
package.
Nested Class Summary | |
static interface |
OzoneMap.Node
|
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Method Summary | |
void |
clear()
|
java.util.Map |
getClientMap()
Returns a Map that contains the same entries as this
persistent one; it is (by nature of the client-server enviromnent) always
a 'deep' copy of this OzoneMap . |
OzoneSet |
ozoneEntrySet()
Basically nothing more than a typecasted call to entrySet() ,
as an entry set is an ozone objects ifself. |
OzoneSet |
ozoneKeySet()
Basically nothing more than a typecasted call to keySet() ,
as key sets are ozone objects themselves. |
OzoneCollection |
ozoneValues()
Basically nothing more than a typecasted call to values() ,
as the values collection is am ozone object itself. |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
|
void |
putAll(java.util.Map map)
|
java.lang.Object |
remove(java.lang.Object key)
|
Methods inherited from interface java.util.Map |
containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, size, values |
Methods inherited from interface org.ozoneDB.OzoneCompatibleOrProxy |
getObjectID |
Method Detail |
public void clear()
clear
in interface java.util.Map
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
put
in interface java.util.Map
public void putAll(java.util.Map map)
putAll
in interface java.util.Map
public java.lang.Object remove(java.lang.Object key)
remove
in interface java.util.Map
public java.util.Map getClientMap()
Returns a Map
that contains the same entries as this
persistent one; it is (by nature of the client-server enviromnent) always
a 'deep' copy of this OzoneMap
. I.e. the contents of
this OzoneMap
instance are always copied to the client
by use of serialization.
public OzoneSet ozoneKeySet()
keySet()
,
as key sets are ozone objects themselves.
public OzoneSet ozoneEntrySet()
entrySet()
,
as an entry set is an ozone objects ifself.
public OzoneCollection ozoneValues()
values()
,
as the values collection is am ozone object itself.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |