SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

com.solarmetric.rd.rop
Class CollectionResultList

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.ArrayList
                    |
                    +--com.solarmetric.rd.rop.CollectionResultList
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, ResultList, java.io.Serializable

public class CollectionResultList
extends java.util.ArrayList
implements ResultList

A basic ResultList inplementation that just wraps a Collection.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
CollectionResultList()
           
CollectionResultList(java.util.Collection c)
           
 
Method Summary
 void checkClosed()
          Check to see if this ResultList has been closed, and if so, throw a NoSuchElementException.
 void close()
          Close the list.
 java.lang.Object get(int index)
           
 int getInstantiatedCount()
          Returns the number of objects that are currently instantiated internally in this list.
 boolean isClosed()
          Returns true if the list has been closed.
 java.util.Iterator iterator()
           
 java.util.ListIterator listIterator()
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, 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.List
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, lastIndexOf, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Constructor Detail

CollectionResultList

public CollectionResultList()

CollectionResultList

public CollectionResultList(java.util.Collection c)
Method Detail

getInstantiatedCount

public int getInstantiatedCount()
Description copied from interface: ResultList
Returns the number of objects that are currently instantiated internally in this list.

Specified by:
getInstantiatedCount in interface ResultList

isClosed

public boolean isClosed()
Description copied from interface: ResultList
Returns true if the list has been closed.

Specified by:
isClosed in interface ResultList

checkClosed

public void checkClosed()
Description copied from interface: ResultList
Check to see if this ResultList has been closed, and if so, throw a NoSuchElementException.

Specified by:
checkClosed in interface ResultList

close

public void close()
Description copied from interface: ResultList
Close the list.

Specified by:
close in interface ResultList

get

public java.lang.Object get(int index)
Specified by:
get in interface java.util.List
Overrides:
get in class java.util.ArrayList

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface java.util.List
Overrides:
iterator in class java.util.AbstractList

listIterator

public java.util.ListIterator listIterator()
Specified by:
listIterator in interface java.util.List
Overrides:
listIterator in class java.util.AbstractList

SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.