org.ozoneDB.collections
Class _BaseTreeMap_values_Proxy

java.lang.Object
  extended byorg.ozoneDB.OzoneProxy
      extended byorg.ozoneDB.collections._BaseTreeMap_values_Proxy
All Implemented Interfaces:
java.util.Collection, java.io.Externalizable, OzoneCollection, org.ozoneDB.OzoneCompatibleOrProxy, org.ozoneDB.OzoneRemote, java.io.Serializable

public final class _BaseTreeMap_values_Proxy
extends org.ozoneDB.OzoneProxy
implements OzoneCollection

This class was automatically generated by ozone's OPP. Do not instantiate or use this class directly.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.ozoneDB.OzoneProxy
link, linkTable, remoteID
 
Constructor Summary
_BaseTreeMap_values_Proxy()
           
_BaseTreeMap_values_Proxy(BaseTreeMap arg0)
           
_BaseTreeMap_values_Proxy(org.ozoneDB.core.ObjectID oid, org.ozoneDB.OzoneInterface link)
           
 
Method Summary
 java.util.Iterator _org_ozoneDB_internalIterator()
           
 boolean add(java.lang.Object arg0)
           
 boolean addAll(java.util.Collection arg0)
           
 void clear()
           
 boolean contains(java.lang.Object arg0)
           
 boolean containsAll(java.util.Collection arg0)
           
static OzoneCollection createObject(BaseTreeMap arg0, org.ozoneDB.OzoneInterface link)
           
 boolean equals(java.lang.Object arg0)
           
 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.
 org.ozoneDB.core.ObjectID getObjectID()
           
 int hashCode()
           
 boolean isEmpty()
           
 java.util.Iterator iterator()
           
 boolean remove(java.lang.Object arg0)
           
 boolean removeAll(java.util.Collection arg0)
           
 boolean retainAll(java.util.Collection arg0)
           
 int size()
           
 java.lang.Object[] toArray()
           
 java.lang.Object[] toArray(java.lang.Object[] arg0)
           
 
Methods inherited from class org.ozoneDB.OzoneProxy
createProxyLinkAttributes, finalize, getHandle, handle, invoke, invoke, invoke, invoke, isSame, readExternal, remoteID, toString, writeExternal
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

_BaseTreeMap_values_Proxy

public _BaseTreeMap_values_Proxy()

_BaseTreeMap_values_Proxy

public _BaseTreeMap_values_Proxy(org.ozoneDB.core.ObjectID oid,
                                 org.ozoneDB.OzoneInterface link)

_BaseTreeMap_values_Proxy

public _BaseTreeMap_values_Proxy(BaseTreeMap arg0)
Method Detail

createObject

public static OzoneCollection createObject(BaseTreeMap arg0,
                                           org.ozoneDB.OzoneInterface link)

add

public boolean add(java.lang.Object arg0)
Specified by:
add in interface OzoneCollection

addAll

public boolean addAll(java.util.Collection arg0)
Specified by:
addAll in interface OzoneCollection

remove

public boolean remove(java.lang.Object arg0)
Specified by:
remove in interface OzoneCollection

clear

public void clear()
Specified by:
clear in interface OzoneCollection

removeAll

public boolean removeAll(java.util.Collection arg0)
Specified by:
removeAll in interface OzoneCollection

retainAll

public boolean retainAll(java.util.Collection arg0)
Specified by:
retainAll in interface OzoneCollection

_org_ozoneDB_internalIterator

public java.util.Iterator _org_ozoneDB_internalIterator()
Specified by:
_org_ozoneDB_internalIterator in interface OzoneCollection

getClientCollection

public java.util.Collection getClientCollection()
Description copied from interface: OzoneCollection

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.

Specified by:
getClientCollection in interface OzoneCollection

hashCode

public int hashCode()
Specified by:
hashCode in interface java.util.Collection

equals

public boolean equals(java.lang.Object arg0)
Specified by:
equals in interface java.util.Collection

contains

public boolean contains(java.lang.Object arg0)
Specified by:
contains in interface java.util.Collection

size

public int size()
Specified by:
size in interface java.util.Collection

toArray

public java.lang.Object[] toArray()
Specified by:
toArray in interface java.util.Collection

toArray

public java.lang.Object[] toArray(java.lang.Object[] arg0)
Specified by:
toArray in interface java.util.Collection

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.Collection

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface java.util.Collection

containsAll

public boolean containsAll(java.util.Collection arg0)
Specified by:
containsAll in interface java.util.Collection

getObjectID

public org.ozoneDB.core.ObjectID getObjectID()
Specified by:
getObjectID in interface org.ozoneDB.OzoneCompatibleOrProxy


Copyright © 2004 The Ozone Database Project - www.ozone-db.org. All Rights Reserved.