org.ozoneDB.odmg
Class OzoneODMGDList

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.ArrayList
                    |
                    +--org.ozoneDB.odmg.OzoneODMGDList
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, DCollection, DList, java.util.List, java.util.RandomAccess, java.io.Serializable

public class OzoneODMGDList
extends java.util.ArrayList
implements DList

Version:
$Revision: 1.1 $Date: 2002/05/08 15:03:21 $
Author:
SMB
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
OzoneODMGDList()
           
OzoneODMGDList(java.util.Collection _collection)
           
 
Method Summary
 DList concat(DList otherList)
          Creates a new DList object that contains the contents of this DList object concatenated with the contents of the otherList object.
 boolean existsElement(java.lang.String predicate)
          NOT SUPPORTED!
 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!
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, remove, removeAll, retainAll, 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.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Constructor Detail

OzoneODMGDList

public OzoneODMGDList()

OzoneODMGDList

public OzoneODMGDList(java.util.Collection _collection)
Method Detail

concat

public DList concat(DList otherList)
Description copied from interface: DList
Creates a new DList object that contains the contents of this DList object concatenated with the contents of the otherList object.

Specified by:
concat in interface DList
Parameters:
otherList - The list whose elements are placed at the end of the list returned by this method.
Returns:
A new DList that is the concatenation of this list and the list referenced by otherList.

selectElement

public java.lang.Object selectElement(java.lang.String predicate)
                               throws QueryInvalidException
NOT SUPPORTED!

Specified by:
selectElement in interface DCollection
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.
Throws:
QueryInvalidException - The query predicate is invalid.

select

public java.util.Iterator select(java.lang.String predicate)
                          throws QueryInvalidException
NOT SUPPORTED!

Specified by:
select in interface DCollection
Parameters:
predicate - An OQL boolean query predicate.
Returns:
An iterator used to iterate over the elements that evaluated true for the predicate.
Throws:
QueryInvalidException - The query predicate is invalid.

query

public DCollection query(java.lang.String predicate)
                  throws QueryInvalidException
NOT SUPPORTED!

Specified by:
query in interface DCollection
Parameters:
predicate - An OQL boolean query predicate.
Returns:
A new collection containing the elements that evaluated true for the predicate.
Throws:
QueryInvalidException - The query predicate is invalid.

existsElement

public boolean existsElement(java.lang.String predicate)
                      throws QueryInvalidException
NOT SUPPORTED!

Specified by:
existsElement in interface DCollection
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.
Throws:
QueryInvalidException - The query predicate is invalid.


Copyright © 2002 The Ozone Database Project - www.ozone-db.org. All Rights Reserved.