jdk/src/share/classes/javax/sql/rowset/CachedRowSet.java
changeset 24197 a5c2cff81e25
parent 21278 ef8a3a2a72f2
child 24968 3308660aa3f2
equal deleted inserted replaced
24196:61c9885d76e2 24197:a5c2cff81e25
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   996     * The key used by the <code>TreeMap</code> collection is determined by the
   996     * The key used by the <code>TreeMap</code> collection is determined by the
   997     * implementation, which may choose to leverage a set key that is
   997     * implementation, which may choose to leverage a set key that is
   998     * available within the internal <code>RowSet</code> tabular structure by
   998     * available within the internal <code>RowSet</code> tabular structure by
   999     * virtue of a key already set either on the <code>RowSet</code> object
   999     * virtue of a key already set either on the <code>RowSet</code> object
  1000     * itself or on the underlying SQL data.
  1000     * itself or on the underlying SQL data.
  1001     * <P>
       
  1002     *
  1001     *
  1003     * @return a <code>Collection</code> object that contains the values in
  1002     * @return a <code>Collection</code> object that contains the values in
  1004     * each row in this <code>CachedRowSet</code> object
  1003     * each row in this <code>CachedRowSet</code> object
  1005     * @throws SQLException if an error occurs generating the collection
  1004     * @throws SQLException if an error occurs generating the collection
  1006     * @see #toCollection(int)
  1005     * @see #toCollection(int)