|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An ozone aware collection.
Method Summary | |
java.util.Iterator |
_org_ozoneDB_internalIterator()
|
boolean |
add(java.lang.Object obj)
|
boolean |
addAll(java.util.Collection c)
|
void |
clear()
|
java.util.Collection |
getClientCollection()
Returns a non-ozone Collection that contains the same
entries as this persistent one; it is (by nature of the client-server
enviromnent) always a 'deep' copy of this OzoneCollection .
|
boolean |
remove(java.lang.Object obj)
|
boolean |
removeAll(java.util.Collection c)
|
boolean |
retainAll(java.util.Collection c)
|
Methods inherited from interface java.util.Collection |
contains, containsAll, equals, hashCode, isEmpty, iterator, size, toArray, toArray |
Methods inherited from interface org.ozoneDB.OzoneCompatibleOrProxy |
getObjectID |
Method Detail |
public java.util.Collection getClientCollection()
Returns a non-ozone Collection
that contains the same
entries as this persistent one; it is (by nature of the client-server
enviromnent) always a 'deep' copy of this OzoneCollection
.
I.e. the contents of this OzoneCollection
instance are
always copied to the client by use of serialization.
This means that if this instance holds non-ozone objects, these objects are send to the calling client by means of serialization. If this instance holds ozone objects, it actually holds proxies to these objects. These proxies are copied and send to the client, resulting in different proxies to the same ozone objects.
Note that all subclasses of OzoneCollection
(or
OzoneMap
) have getClientXxx()
member functions
that return a collection of type java.util.Xxx
; these simply
return the same result value as getClientCollection()
without the need for a typecast.
public boolean add(java.lang.Object obj)
add
in interface java.util.Collection
public boolean addAll(java.util.Collection c)
addAll
in interface java.util.Collection
public boolean remove(java.lang.Object obj)
remove
in interface java.util.Collection
public boolean removeAll(java.util.Collection c)
removeAll
in interface java.util.Collection
public boolean retainAll(java.util.Collection c)
retainAll
in interface java.util.Collection
public void clear()
clear
in interface java.util.Collection
public java.util.Iterator _org_ozoneDB_internalIterator()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |