title: How to programmatically create a Java ResultSet from custom data with no database
body: <p>I have some existing code that accepts a <code>java.sql.ResultSet</code> that contains info retrieved from an Oracle database.  I would now like to reuse this code, but I'd like to pass it a <code>ResultSet</code> object that I create myself from some in-memory data that is not affiliated with any database.  Is there an existing Java framework class that I can use for this?  <code>ResultSet</code> has tons of methods, so implementing my own class for this seemed like overkill, even though I could ignore most of the methods for my specific case.</p>
  
  <p>I was thinking of something along the lines of the old Microsoft ADO recordset object, where I could create the fields and then populate the row data for each field.  This seemed like an easily googlable question, but I've been unable to find any good pointers.</p>