Package rasj.odmg
Class RasCollection
java.lang.Object
java.util.AbstractCollection
rasj.odmg.RasCollection
- All Implemented Interfaces:
Iterable,Collection,DCollection
This abstract class should implement the ODMG DCollection interface but is not implemented yet,
please use subclass RasBag
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexistsElement(String predicate) Not implemented yet.iterator()Not implemented yet.Not implemented yet.Not implemented yet.selectElement(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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray, toArray
-
Constructor Details
-
RasCollection
public RasCollection()
-
-
Method Details
-
query
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
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
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
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 interfaceCollection- Specified by:
sizein classAbstractCollection
-
iterator
Not implemented yet.- Specified by:
iteratorin interfaceCollection- Specified by:
iteratorin interfaceIterable- Specified by:
iteratorin classAbstractCollection
-