|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractSet | +--java.util.HashSet | +--org.ozoneDB.odmg.OzoneODMGDSet
Constructor Summary | |
OzoneODMGDSet()
|
|
OzoneODMGDSet(java.util.Collection _collection)
|
Method Summary | |
DSet |
difference(DSet otherSet)
Create a new DSet object that contains the elements of this
collection minus the elements in otherSet . |
boolean |
existsElement(java.lang.String predicate)
NOT SUPPORTED! |
DSet |
intersection(DSet otherSet)
Create a new DSet object that is the set intersection of this
DSet object and the set referenced by otherSet . |
boolean |
properSubsetOf(DSet otherSet)
Determine whether this set is a proper subset of the set referenced by otherSet . |
boolean |
properSupersetOf(DSet otherSet)
Determine whether this set is a proper superset of the set referenced by otherSet . |
DCollection |
query(java.lang.String predicate)
NOT SUPPORTED! |
java.util.Iterator |
select(java.lang.String predicate)
NOT SUPPORTED! |
java.lang.Object |
selectElement(java.lang.String predicate)
NOT SUPPORTED! |
boolean |
subsetOf(DSet otherSet)
Determine whether this set is a subset of the set referenced by otherSet . |
boolean |
supersetOf(DSet otherSet)
Determine whether this set is a superset of the set referenced by otherSet . |
DSet |
union(DSet otherSet)
Create a new DSet object that is the set union of this
DSet object and the set referenced by otherSet . |
Methods inherited from class java.util.HashSet |
add, clear, clone, contains, isEmpty, iterator, remove, size |
Methods inherited from class java.util.AbstractSet |
equals, hashCode, removeAll |
Methods inherited from class java.util.AbstractCollection |
addAll, containsAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Collection |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Constructor Detail |
public OzoneODMGDSet()
public OzoneODMGDSet(java.util.Collection _collection)
Method Detail |
public DSet union(DSet otherSet)
DSet
object that is the set union of this
DSet
object and the set referenced by otherSet
.
union
in interface DSet
otherSet
- The other set to be used in the union operation.
DSet
instance that contains the union of the two sets.public DSet intersection(DSet otherSet)
DSet
object that is the set intersection of this
DSet
object and the set referenced by otherSet
.
intersection
in interface DSet
otherSet
- The other set to be used in the intersection operation.
DSet
instance that contains the
intersection of the two sets.public DSet difference(DSet otherSet)
DSet
object that contains the elements of this
collection minus the elements in otherSet
.
difference
in interface DSet
otherSet
- A set containing elements that should not be in the result set.
DSet
instance that contains the elements
of this set minus those elements in otherSet
.public boolean subsetOf(DSet otherSet)
otherSet
.
subsetOf
in interface DSet
otherSet
- Another set.
otherSet
,
otherwise false.public boolean properSubsetOf(DSet otherSet)
otherSet
.
properSubsetOf
in interface DSet
otherSet
- Another set.
otherSet
, otherwise false.public boolean supersetOf(DSet otherSet)
otherSet
.
supersetOf
in interface DSet
otherSet
- Another set.
otherSet
,
otherwise false.public boolean properSupersetOf(DSet otherSet)
otherSet
.
properSupersetOf
in interface DSet
otherSet
- Another set.
otherSet
, otherwise false.public java.lang.Object selectElement(java.lang.String predicate) throws QueryInvalidException
selectElement
in interface DCollection
predicate
- An OQL boolean query predicate.
QueryInvalidException
- The query predicate is invalid.public java.util.Iterator select(java.lang.String predicate) throws QueryInvalidException
select
in interface DCollection
predicate
- An OQL boolean query predicate.
QueryInvalidException
- The query predicate is invalid.public DCollection query(java.lang.String predicate) throws QueryInvalidException
query
in interface DCollection
predicate
- An OQL boolean query predicate.
QueryInvalidException
- The query predicate is invalid.public boolean existsElement(java.lang.String predicate) throws QueryInvalidException
existsElement
in interface DCollection
predicate
- An OQL boolean query predicate.
QueryInvalidException
- The query predicate is invalid.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |