edu.mssm.crover.odmg.fastobjects.util
Class DSet
java.lang.Object
|
+--edu.mssm.crover.odmg.fastobjects.util.DSet
- All Implemented Interfaces:
- java.util.Collection, org.odmg.DCollection, org.odmg.DSet, java.util.Set
- public class DSet
- extends java.lang.Object
- implements org.odmg.DSet
|
Field Summary |
protected com.poet.odmg.util.SetOfObject |
so
|
|
Constructor Summary |
DSet()
|
|
Method Summary |
boolean |
add(java.lang.Object obj)
begin java.util.Collection methods |
boolean |
addAll(java.util.Collection c)
|
void |
clear()
|
boolean |
contains(java.lang.Object obj)
|
boolean |
containsAll(java.util.Collection c)
|
org.odmg.DSet |
difference(org.odmg.DSet otherSet)
|
boolean |
existsElement(java.lang.String predicate)
|
org.odmg.DSet |
intersection(org.odmg.DSet otherSet)
|
boolean |
isEmpty()
|
java.util.Iterator |
iterator()
|
boolean |
properSubsetOf(org.odmg.DSet otherSet)
|
boolean |
properSupersetOf(org.odmg.DSet otherSet)
|
org.odmg.DCollection |
query(java.lang.String predicate)
|
boolean |
remove(java.lang.Object obj)
|
boolean |
removeAll(java.util.Collection c)
|
boolean |
retainAll(java.util.Collection c)
|
java.util.Iterator |
select(java.lang.String predicate)
|
java.lang.Object |
selectElement(java.lang.String predicate)
begin org.odmg.DCollection methods |
int |
size()
|
boolean |
subsetOf(org.odmg.DSet otherSet)
|
boolean |
supersetOf(org.odmg.DSet otherSet)
|
java.lang.Object[] |
toArray()
|
java.lang.Object[] |
toArray(java.lang.Object[] obj)
|
org.odmg.DSet |
union(org.odmg.DSet otherSet)
org.odmg.DSet methods |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Collection |
equals, hashCode |
| Methods inherited from interface java.util.Set |
equals, hashCode |
so
protected com.poet.odmg.util.SetOfObject so
DSet
public DSet()
union
public org.odmg.DSet union(org.odmg.DSet otherSet)
- org.odmg.DSet methods
- Specified by:
union in interface org.odmg.DSet
intersection
public org.odmg.DSet intersection(org.odmg.DSet otherSet)
- Specified by:
intersection in interface org.odmg.DSet
difference
public org.odmg.DSet difference(org.odmg.DSet otherSet)
- Specified by:
difference in interface org.odmg.DSet
subsetOf
public boolean subsetOf(org.odmg.DSet otherSet)
- Specified by:
subsetOf in interface org.odmg.DSet
properSubsetOf
public boolean properSubsetOf(org.odmg.DSet otherSet)
- Specified by:
properSubsetOf in interface org.odmg.DSet
supersetOf
public boolean supersetOf(org.odmg.DSet otherSet)
- Specified by:
supersetOf in interface org.odmg.DSet
properSupersetOf
public boolean properSupersetOf(org.odmg.DSet otherSet)
- Specified by:
properSupersetOf in interface org.odmg.DSet
selectElement
public java.lang.Object selectElement(java.lang.String predicate)
throws org.odmg.QueryInvalidException
- begin org.odmg.DCollection methods
- Specified by:
selectElement in interface org.odmg.DCollection
org.odmg.QueryInvalidException
select
public java.util.Iterator select(java.lang.String predicate)
throws org.odmg.QueryInvalidException
- Specified by:
select in interface org.odmg.DCollection
org.odmg.QueryInvalidException
query
public org.odmg.DCollection query(java.lang.String predicate)
throws org.odmg.QueryInvalidException
- Specified by:
query in interface org.odmg.DCollection
org.odmg.QueryInvalidException
existsElement
public boolean existsElement(java.lang.String predicate)
throws org.odmg.QueryInvalidException
- Specified by:
existsElement in interface org.odmg.DCollection
org.odmg.QueryInvalidException
add
public boolean add(java.lang.Object obj)
- begin java.util.Collection methods
- Specified by:
add in interface java.util.Collection
addAll
public boolean addAll(java.util.Collection c)
- Specified by:
addAll in interface java.util.Collection
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface java.util.Collection
size
public int size()
- Specified by:
size in interface java.util.Collection
removeAll
public boolean removeAll(java.util.Collection c)
- Specified by:
removeAll in interface java.util.Collection
clear
public void clear()
- Specified by:
clear in interface java.util.Collection
remove
public boolean remove(java.lang.Object obj)
- Specified by:
remove in interface java.util.Collection
contains
public boolean contains(java.lang.Object obj)
- Specified by:
contains in interface java.util.Collection
iterator
public java.util.Iterator iterator()
- Specified by:
iterator in interface java.util.Collection
retainAll
public boolean retainAll(java.util.Collection c)
- Specified by:
retainAll 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[] obj)
- Specified by:
toArray in interface java.util.Collection
containsAll
public boolean containsAll(java.util.Collection c)
- Specified by:
containsAll in interface java.util.Collection
Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.