|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ozoneDB.OzoneObject
org.ozoneDB.collections.AbstractOzoneCollection
org.ozoneDB.collections.AbstractOzoneSet
org.ozoneDB.collections._BaseTreeMap_SubMap_keySet
DO NOT USE THIS CLASS DIRECTLY.
This should be an anonymous inner class; ozone will probably never support these as being seperate ozone objects, so we have to resort to this hack.
Constructor Summary | |
_BaseTreeMap_SubMap_keySet(_BaseTreeMap_SubMap owner)
Creates a new instance of BaseTreeMap_SubMap_keySet |
Method Summary | |
java.util.Iterator |
_org_ozoneDB_internalIterator()
|
void |
clear()
Remove all elements from the collection (optional operation). |
boolean |
contains(java.lang.Object o)
Test whether this collection contains a given object. |
java.util.Iterator |
iterator()
Return an Iterator over this collection. |
boolean |
remove(java.lang.Object o)
Remove a single instance of an object from this collection (optional operation). |
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, containsAll, getClientCollection, isEmpty, 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, getClientCollection, 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, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, toArray, toArray |
Constructor Detail |
public _BaseTreeMap_SubMap_keySet(_BaseTreeMap_SubMap owner)
Method Detail |
public int size()
AbstractOzoneCollection
size
in interface java.util.Collection
size
in class AbstractOzoneCollection
public java.util.Iterator iterator()
AbstractOzoneCollection
iterator
in interface java.util.Collection
iterator
in class AbstractOzoneCollection
public java.util.Iterator _org_ozoneDB_internalIterator()
_org_ozoneDB_internalIterator
in interface OzoneCollection
public void clear()
AbstractOzoneCollection
clear
in interface OzoneCollection
clear
in class AbstractOzoneCollection
Iterator.remove()
public boolean contains(java.lang.Object o)
AbstractOzoneCollection
contains
in interface java.util.Collection
contains
in class AbstractOzoneCollection
o
- the object to remove from this collection
public boolean remove(java.lang.Object o)
AbstractOzoneCollection
(o == null ? e == null : o.equals(e))
, if such an element
exists. 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, it is removed by the iterator's remove method
(thus this method will fail with an UnsupportedOperationException if
the Iterator's remove method does). After the first element has been
removed, true is returned; if the end of the collection is reached, false
is returned.
remove
in interface OzoneCollection
remove
in class AbstractOzoneCollection
o
- the object to remove from this collection
Iterator.remove()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |