org.ozoneDB.collections
Class _AbstractOzoneMap_values

java.lang.Object
  extended byorg.ozoneDB.OzoneObject
      extended byorg.ozoneDB.collections.AbstractOzoneCollection
          extended byorg.ozoneDB.collections.AbstractOzoneSet
              extended byorg.ozoneDB.collections._AbstractOzoneMap_values
All Implemented Interfaces:
java.util.Collection, OzoneCollection, org.ozoneDB.OzoneCompatible, org.ozoneDB.OzoneCompatibleOrProxy, org.ozoneDB.OzoneRemote, OzoneSet, java.io.Serializable, java.util.Set

public class _AbstractOzoneMap_values
extends AbstractOzoneSet
implements OzoneSet

Do not use this class directly. This should be an inner class; unfortunately ozone does not support those yet.

See Also:
Serialized Form

Constructor Summary
_AbstractOzoneMap_values(OzoneMap owner)
          Creates a new instance of AbstractDbMap_ValuesImpl
 
Method Summary
 java.util.Iterator _org_ozoneDB_internalIterator()
           
 boolean contains(java.lang.Object value)
          Test whether this collection contains a given object.
 java.util.Iterator iterator()
          Return an Iterator over this collection.
 int size()
          Return the number of elements in this collection.
 
Methods inherited from class org.ozoneDB.collections.AbstractOzoneSet
equals, getClientSet, hashCode, removeAll
 
Methods inherited from class org.ozoneDB.collections.AbstractOzoneCollection
add, addAll, clear, containsAll, getClientCollection, isEmpty, remove, retainAll, toArray, toArray, toString
 
Methods inherited from class org.ozoneDB.OzoneObject
container, database, deleteRecursive, getHandle, getObjectID, handle, onActivate, onCreate, onDelete, onPassivate, requireWriteLocking, self, setContainer, toXML
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ozoneDB.collections.OzoneSet
getClientSet
 
Methods inherited from interface org.ozoneDB.collections.OzoneCollection
add, addAll, clear, getClientCollection, remove, removeAll, retainAll
 
Methods inherited from interface java.util.Collection
containsAll, equals, hashCode, isEmpty, toArray, toArray
 
Methods inherited from interface org.ozoneDB.OzoneCompatibleOrProxy
getObjectID
 
Methods inherited from interface java.util.Set
add, addAll, clear, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

_AbstractOzoneMap_values

public _AbstractOzoneMap_values(OzoneMap owner)
Creates a new instance of AbstractDbMap_ValuesImpl

Method Detail

size

public int size()
Description copied from class: AbstractOzoneCollection
Return the number of elements in this collection. If there are more than Integer.MAX_VALUE elements, return Integer.MAX_VALUE.

Specified by:
size in interface java.util.Collection
Specified by:
size in class AbstractOzoneCollection
Returns:
the size

contains

public boolean contains(java.lang.Object value)
Description copied from class: AbstractOzoneCollection
Test whether this collection contains a given object. That is, if the collection has an element e such that (o == null ? e == null : o.equals(e)). This implementation obtains an iterator over the collection and iterates over it, testing each element for equality with the given object. If it is equal, true is returned. Otherwise false is returned when the end of the collection is reached.

Specified by:
contains in interface java.util.Collection
Overrides:
contains in class AbstractOzoneCollection
Parameters:
value - the object to remove from this collection
Returns:
true if this collection contains an object equal to o

iterator

public java.util.Iterator iterator()
Description copied from class: AbstractOzoneCollection
Return an Iterator over this collection. The iterator must provide the hasNext and next methods and should in addition provide remove if the collection is modifiable.

Specified by:
iterator in interface java.util.Collection
Specified by:
iterator in class AbstractOzoneCollection
Returns:
an iterator

_org_ozoneDB_internalIterator

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


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