Index: src/java/javax/jdo/Extent.java
===================================================================
--- src/java/javax/jdo/Extent.java (revision 582408)
+++ src/java/javax/jdo/Extent.java (working copy)
@@ -22,6 +22,7 @@
package javax.jdo;
+import java.lang.Iterable;
import java.util.Iterator;
/** Instances of the Extent class represent the entire collection
@@ -33,16 +34,16 @@
*
Query in the data store over all instances
* of a particular class
*
- * @version 2.0
+ * @version 2.1
*/
-public interface Extent {
+public interface ExtentExtent.
* The behavior of the returned iterator might depend on the setting of the
* ignoreCache flag in the owning PersistenceManager.
* @return an iterator over all instances in the Extent
*/
- Iterator iterator();
+ IteratorExtent was defined to contain subclasses.
* @return true if this Extent was defined to contain instances
@@ -54,7 +55,7 @@
* store; this method returns the Class of the instances.
* @return the Class of instances of this Extent.
*/
- Class getCandidateClass();
+ ClassExtent is managed by a PersistenceManager;
* this method gives access to the owning PersistenceManager.
Index: src/java/javax/jdo/PersistenceManager.java
===================================================================
--- src/java/javax/jdo/PersistenceManager.java (revision 582408)
+++ src/java/javax/jdo/PersistenceManager.java (working copy)
@@ -262,7 +262,7 @@
* @return an Extent of the specified Class
* @see Query
*/
- Extent getExtent (Class persistenceCapableClass, boolean subclasses);
+ getExtent (persistenceCapableClass,
@@ -270,7 +270,7 @@
* @see #getExtent(Class,boolean)
* @since 2.0
*/
- Extent getExtent (Class persistenceCapableClass);
+ Extent getExtent (Class persistenceCapableClass);
/** This method locates a persistent instance in the cache of instances
* managed by this PersistenceManager.
@@ -533,7 +533,7 @@
* parameter array
* @see #makePersistent(Object pc)
*/
- T[] makePersistentAll (T[] pcs);
+ T[] makePersistentAll (T... pcs);
/** Make a Collection of instances persistent.
* @param pcs a Collection of instances