From 480ccb4bfcc622c1ce320c20ce992188187f7573 Mon Sep 17 00:00:00 2001 From: Andrew John Hughes Date: Mon, 1 May 2006 21:45:41 +0000 Subject: 2006-05-01 Andrew John Hughes * Merge HEAD-->generics-branch for the period 2006-04-13 to 2006-05-01. --- java/sql/Array.java | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'java/sql/Array.java') diff --git a/java/sql/Array.java b/java/sql/Array.java index 2cc1aa130..cdd60a42f 100644 --- a/java/sql/Array.java +++ b/java/sql/Array.java @@ -1,5 +1,5 @@ /* Array.java -- Interface for accessing SQL array object - Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2002, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -87,22 +87,22 @@ public interface Array Object getArray(Map> map) throws SQLException; /** - * Returns a portion of this array starting at index + * Returns a portion of this array starting at start * into the array and continuing for count * elements. Fewer than the requested number of elements will be * returned if the array does not contain the requested number of elements. * The object returned will be an array of Java objects of * the appropriate types. * - * @param index The offset into this array to start returning elements from. + * @param start The offset into this array to start returning elements from. * @param count The requested number of elements to return. * @return The requested portion of the array. * @exception SQLException If an error occurs. */ - Object getArray(long index, int count) throws SQLException; + Object getArray(long start, int count) throws SQLException; /** - * This method returns a portion of this array starting at index + * This method returns a portion of this array starting at start * into the array and continuing for count * elements. Fewer than the requested number of elements will be * returned if the array does not contain the requested number of elements. @@ -110,13 +110,13 @@ public interface Array * Map will be used for overriding selected SQL type to * Java class mappings. * - * @param index The offset into this array to start returning elements from. + * @param start The offset into this array to start returning elements from. * @param count The requested number of elements to return. * @param map A mapping of SQL types to Java classes. * @return The requested portion of the array. * @exception SQLException If an error occurs. */ - Object getArray(long index, int count, Map> map) + Object getArray(long start, int count, Map> map) throws SQLException; /** @@ -148,24 +148,24 @@ public interface Array /** * This method returns a portion of the array as a ResultSet. - * The returned portion will start at index into the + * The returned portion will start at start into the * array and up to count elements will be returned. *

* Each row of the result set will have two columns. The first will be * the index into the array of that row's contents. The second will be * the actual value of that array element. * - * @param index The index into the array to start returning elements from. + * @param start The index into the array to start returning elements from. * @param count The requested number of elements to return. * @return The requested elements of this array as a ResultSet. * @exception SQLException If an error occurs. * @see ResultSet */ - ResultSet getResultSet(long index, int count) throws SQLException; + ResultSet getResultSet(long start, int count) throws SQLException; /** * This method returns a portion of the array as a ResultSet. - * The returned portion will start at index into the + * The returned portion will start at start into the * array and up to count elements will be returned. * *

Each row of the result set will have two columns. The first will be @@ -174,13 +174,13 @@ public interface Array * will be used to override selected default mappings of SQL types to * Java classes.

* - * @param index The index into the array to start returning elements from. + * @param start The index into the array to start returning elements from. * @param count The requested number of elements to return. * @param map A mapping of SQL types to Java classes. * @return The requested elements of this array as a ResultSet. * @exception SQLException If an error occurs. * @see ResultSet */ - ResultSet getResultSet(long index, int count, Map> map) + ResultSet getResultSet(long start, int count, Map> map) throws SQLException; } -- cgit v1.2.1