java.util.HashMapcom.aspose.words.ResultSetHashMap
public class ResultSetHashMap
In fact ResultSetHashMap is just a HashMap<String, ResultSet>
and this class is introduced only for compatibility with JDK 1.4.
Constructor Summary |
---|
ResultSetHashMap()
Constructs an empty ResultSetHashMap with the default initial capacity (16). |
ResultSetHashMap(int initialCapacity)
Constructs an empty ResultSetHashMap with the specified initial capacity. |
Method Summary | ||
---|---|---|
java.sql.ResultSet | getByTableName(java.lang.String tableName) | |
Gets a table (ResultSet) from the ResultSetHashMap using table name as a key. | ||
java.sql.ResultSet | put(java.lang.String tableName, java.sql.ResultSet table) | |
Puts tableName-table pair into the ResultSetHashMap. |
Constructor Detail |
---|
public ResultSetHashMap()
public ResultSetHashMap(int initialCapacity)
Method Detail |
---|
put | |
public java.sql.ResultSet put(java.lang.String tableName, java.sql.ResultSet table) |
If the map previously contained a mapping for this tableName, the old table is replaced.
tableName
- table name to be associated with the specified ResultSet.table
- ResultSet to be associated with the specified tableName.getByTableName | |
public java.sql.ResultSet getByTableName(java.lang.String tableName) |
tableName
- table name associated with the ResultSet.