Package rasj.odmg
Class RasCollection
- java.lang.Object
-
- java.util.AbstractCollection
-
- rasj.odmg.RasCollection
-
- All Implemented Interfaces:
java.lang.Iterable,java.util.Collection,DCollection
public abstract class RasCollection extends java.util.AbstractCollection implements DCollection
This abstract class should implement the ODMG DCollection interface but is not implemented yet, please use subclass RasBag
-
-
Constructor Summary
Constructors Constructor Description RasCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexistsElement(java.lang.String predicate)Not implemented yet.java.util.Iteratoriterator()Not implemented yet.DCollectionquery(java.lang.String predicate)Not implemented yet.java.util.Iteratorselect(java.lang.String predicate)Not implemented yet.java.lang.ObjectselectElement(java.lang.String predicate)Not implemented yet.intsize()Not implemented yet.-
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
query
public DCollection query(java.lang.String predicate)
Not implemented yet.- Specified by:
queryin interfaceDCollection- Parameters:
predicate- An OQL boolean query predicate.- Returns:
- A new collection containing the elements that evaluated true for the predicate.
-
select
public java.util.Iterator select(java.lang.String predicate)
Not implemented yet.- Specified by:
selectin interfaceDCollection- Parameters:
predicate- An OQL boolean query predicate.- Returns:
- An iterator used to iterate over the elements that evaluated true for the predicate.
-
existsElement
public boolean existsElement(java.lang.String predicate)
Not implemented yet.- Specified by:
existsElementin interfaceDCollection- Parameters:
predicate- An OQL boolean query predicate.- Returns:
- True if there is an element of the collection that evaluates to true for the predicate, otherwise false.
-
selectElement
public java.lang.Object selectElement(java.lang.String predicate)
Not implemented yet.- Specified by:
selectElementin interfaceDCollection- Parameters:
predicate- An OQL boolean query predicate.- Returns:
- The element that evaluates to true for the predicate. If no element evaluates to true, null is returned.
-
size
public int size()
Not implemented yet.- Specified by:
sizein interfacejava.util.Collection- Specified by:
sizein classjava.util.AbstractCollection
-
iterator
public java.util.Iterator iterator()
Not implemented yet.- Specified by:
iteratorin interfacejava.util.Collection- Specified by:
iteratorin interfacejava.lang.Iterable- Specified by:
iteratorin classjava.util.AbstractCollection
-
-