com.orientechnologies.jdo.types
Class d_CollBrowse

java.lang.Object
  extended bycom.orientechnologies.jdo.types.d_CollBrowse
All Implemented Interfaces:
java.util.Collection

public class d_CollBrowse
extends java.lang.Object
implements java.util.Collection

Implements the Collection interface to browsing a d_Collection object.


Constructor Summary
d_CollBrowse(d_Collection iCollection)
           
 
Method Summary
 boolean add(java.lang.Object iObject)
           
 boolean addAll(java.util.Collection iSource)
          Insert all items of iSource collection in this collection.
 void clear()
           
 boolean contains(java.lang.Object iObject)
           
 boolean containsAll(java.util.Collection iSource)
           
 boolean equals(java.lang.Object o)
           
 boolean isEmpty()
           
 java.util.Iterator iterator()
           
 boolean remove(java.lang.Object iObject)
           
 boolean removeAll(java.util.Collection iSource)
           
 boolean retainAll(java.util.Collection iSource)
           
 int size()
           
 java.lang.Object[] toArray()
           
 java.lang.Object[] toArray(java.lang.Object[] ioResult)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Collection
hashCode
 

Constructor Detail

d_CollBrowse

public d_CollBrowse(d_Collection iCollection)
Method Detail

size

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

isEmpty

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

contains

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

iterator

public java.util.Iterator iterator()
Specified by:
iterator 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[] ioResult)
Specified by:
toArray in interface java.util.Collection

add

public boolean add(java.lang.Object iObject)
Specified by:
add in interface java.util.Collection

remove

public boolean remove(java.lang.Object iObject)
Specified by:
remove in interface java.util.Collection

containsAll

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

addAll

public boolean addAll(java.util.Collection iSource)
Insert all items of iSource collection in this collection.

Specified by:
addAll in interface java.util.Collection
Parameters:
iSource - The source collection to copy
Returns:
TRUE on success, FALSE if the objects are not inserted

removeAll

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

retainAll

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

clear

public void clear()
Specified by:
clear in interface java.util.Collection

equals

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