org.openqa.selenium.html5
Class ResultSetRows

java.lang.Object
  extended by org.openqa.selenium.html5.ResultSetRows

public class ResultSetRows
extends Object


Constructor Summary
ResultSetRows(List<Map<String,Object>> rows)
           
 
Method Summary
 Map<String,Object> item(int index)
          Returns the row at the given index.
 int size()
          The number of rows returned by the database.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResultSetRows

public ResultSetRows(List<Map<String,Object>> rows)
Method Detail

item

public Map<String,Object> item(int index)
Returns the row at the given index. The Map represents a mapping between the column and the value of the cell as returned by the database.

Parameters:
index -
Returns:
A Map representing the row at the given index. If there is no such row, this returns null

size

public int size()
The number of rows returned by the database.

Returns:
An integer representing the number of rows contained in the ResultSetRows

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.