org.ozoneDB.collections
Class FullTreeSetImpl_Proxy

java.lang.Object
  extended byorg.ozoneDB.OzoneProxy
      extended byorg.ozoneDB.collections.FullTreeSetImpl_Proxy
All Implemented Interfaces:
BaseTreeSet, java.util.Collection, java.io.Externalizable, FullTreeSet, OzoneCollection, org.ozoneDB.OzoneCompatibleOrProxy, org.ozoneDB.OzoneRemote, OzoneSet, OzoneSortedSet, OzoneTreeSet, java.io.Serializable, java.util.Set, java.util.SortedSet

public final class FullTreeSetImpl_Proxy
extends org.ozoneDB.OzoneProxy
implements FullTreeSet

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
FullTreeSetImpl_Proxy()
           
FullTreeSetImpl_Proxy(java.util.Collection arg0)
           
FullTreeSetImpl_Proxy(java.util.Comparator arg0)
           
FullTreeSetImpl_Proxy(org.ozoneDB.core.ObjectID oid, org.ozoneDB.OzoneInterface link)
           
FullTreeSetImpl_Proxy(java.util.SortedMap arg0, DoNotUse_SeeJavadoc arg1)
           
FullTreeSetImpl_Proxy(java.util.SortedSet arg0)
           
 
Method Summary
 java.util.Iterator _org_ozoneDB_internalIterator()
           
 boolean add(java.lang.Object arg0)
           
 boolean addAll(java.util.Collection arg0)
           
 void clear()
           
 java.util.Comparator comparator()
           
 boolean contains(java.lang.Object arg0)
           
 boolean containsAll(java.util.Collection arg0)
           
static FullTreeSet createObject(java.util.Collection arg0, org.ozoneDB.OzoneInterface link)
           
static FullTreeSet createObject(java.util.Comparator arg0, org.ozoneDB.OzoneInterface link)
           
static FullTreeSet createObject(org.ozoneDB.OzoneInterface link)
           
static FullTreeSet createObject(java.util.SortedMap arg0, DoNotUse_SeeJavadoc arg1, org.ozoneDB.OzoneInterface link)
           
static FullTreeSet createObject(java.util.SortedSet arg0, org.ozoneDB.OzoneInterface link)
           
 boolean equals(java.lang.Object arg0)
           
 java.lang.Object first()
           
 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.
 java.util.Set getClientSet()
          Returns a non-ozone Set that contains the same entries as this persistent one; it is (by nature of the client-server enviromnent) always a 'deep' copy of this OzoneSet.
 java.util.SortedSet getClientSortedSet()
          Returns a SortedSet that contains the same entries as this persistent one; it is (by nature of the client-server enviromnent) always a 'deep' copy of this OzoneSortedSet.
 java.util.TreeSet getClientTreeSet()
          Returns a TreeSet that contains the same entries as this persistent one; it is (by nature of the client-server enviromnent) always a 'deep' copy of this OzoneTreeSet.
 org.ozoneDB.core.ObjectID getObjectID()
           
 int hashCode()
           
 java.util.SortedSet headSet(java.lang.Object arg0)
           
 boolean isEmpty()
           
 java.util.Iterator iterator()
           
 java.lang.Object last()
           
 OzoneSortedSet ozoneHeadSet(java.lang.Object arg0)
          Basically nothing more than a typecasted HeadSet method.
 OzoneSortedSet ozoneSubSet(java.lang.Object arg0, java.lang.Object arg1)
          Basically nothing more than a typecasted SubSet method.
 OzoneSortedSet ozoneTailSet(java.lang.Object arg0)
          Basically nothing more than a typecasted TailSet method.
 boolean remove(java.lang.Object arg0)
           
 boolean removeAll(java.util.Collection arg0)
           
 boolean retainAll(java.util.Collection arg0)
           
 int size()
           
 java.util.SortedSet subSet(java.lang.Object arg0, java.lang.Object arg1)
           
 java.util.SortedSet tailSet(java.lang.Object arg0)
           
 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

FullTreeSetImpl_Proxy

public FullTreeSetImpl_Proxy()

FullTreeSetImpl_Proxy

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

FullTreeSetImpl_Proxy

public FullTreeSetImpl_Proxy(java.util.Comparator arg0)

FullTreeSetImpl_Proxy

public FullTreeSetImpl_Proxy(java.util.Collection arg0)

FullTreeSetImpl_Proxy

public FullTreeSetImpl_Proxy(java.util.SortedSet arg0)

FullTreeSetImpl_Proxy

public FullTreeSetImpl_Proxy(java.util.SortedMap arg0,
                             DoNotUse_SeeJavadoc arg1)
Method Detail

createObject

public static FullTreeSet createObject(org.ozoneDB.OzoneInterface link)

createObject

public static FullTreeSet createObject(java.util.Comparator arg0,
                                       org.ozoneDB.OzoneInterface link)

createObject

public static FullTreeSet createObject(java.util.Collection arg0,
                                       org.ozoneDB.OzoneInterface link)

createObject

public static FullTreeSet createObject(java.util.SortedSet arg0,
                                       org.ozoneDB.OzoneInterface link)

createObject

public static FullTreeSet createObject(java.util.SortedMap arg0,
                                       DoNotUse_SeeJavadoc arg1,
                                       org.ozoneDB.OzoneInterface link)

getClientTreeSet

public java.util.TreeSet getClientTreeSet()
Description copied from interface: OzoneTreeSet

Returns a TreeSet that contains the same entries as this persistent one; it is (by nature of the client-server enviromnent) always a 'deep' copy of this OzoneTreeSet. I.e. the contents of this OzoneTreeSet instance are always copied to the client by use of serialization.

Note that the difference of calling iterator() compared to getClientTreeSet().iterator() is that in the first case you go through the real collection on the server and in the second case you go through a local copy on the client side.

Specified by:
getClientTreeSet in interface OzoneTreeSet

getClientSortedSet

public java.util.SortedSet getClientSortedSet()
Description copied from interface: OzoneSortedSet

Returns a SortedSet that contains the same entries as this persistent one; it is (by nature of the client-server enviromnent) always a 'deep' copy of this OzoneSortedSet. I.e. the contents of this OzoneSortedSet instance are always copied to the client by use of serialization.

Note that the difference of calling iterator() compared to getClientSortedSet().iterator() is that in the first case you go through the real collection on the server and in the second case you go through a local copy on the client side.

Specified by:
getClientSortedSet in interface OzoneSortedSet

ozoneHeadSet

public OzoneSortedSet ozoneHeadSet(java.lang.Object arg0)
Description copied from interface: OzoneSortedSet

Basically nothing more than a typecasted HeadSet method. Because subsets are also OzoneSortedSets, this method is provided to do away with the need for a typecast.

Specified by:
ozoneHeadSet in interface OzoneSortedSet

ozoneSubSet

public OzoneSortedSet ozoneSubSet(java.lang.Object arg0,
                                  java.lang.Object arg1)
Description copied from interface: OzoneSortedSet

Basically nothing more than a typecasted SubSet method. Because subsets are also OzoneSortedSets, this method is provided to do away with the need for a typecast.

Specified by:
ozoneSubSet in interface OzoneSortedSet

ozoneTailSet

public OzoneSortedSet ozoneTailSet(java.lang.Object arg0)
Description copied from interface: OzoneSortedSet

Basically nothing more than a typecasted TailSet method.

Because subsets are also OzoneSortedSets, this method is provided to do away with the need for a typecast.

Specified by:
ozoneTailSet in interface OzoneSortedSet

getClientSet

public java.util.Set getClientSet()
Description copied from interface: OzoneSet

Returns a non-ozone Set that contains the same entries as this persistent one; it is (by nature of the client-server enviromnent) always a 'deep' copy of this OzoneSet. I.e. the contents of this OzoneSet 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.

Specified by:
getClientSet in interface OzoneSet

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

comparator

public java.util.Comparator comparator()
Specified by:
comparator in interface java.util.SortedSet

first

public java.lang.Object first()
Specified by:
first in interface java.util.SortedSet

last

public java.lang.Object last()
Specified by:
last in interface java.util.SortedSet

headSet

public java.util.SortedSet headSet(java.lang.Object arg0)
Specified by:
headSet in interface java.util.SortedSet

subSet

public java.util.SortedSet subSet(java.lang.Object arg0,
                                  java.lang.Object arg1)
Specified by:
subSet in interface java.util.SortedSet

tailSet

public java.util.SortedSet tailSet(java.lang.Object arg0)
Specified by:
tailSet in interface java.util.SortedSet


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