Code example for Map

Methods: values

    String getTableName() {
        return tableName;
    Collection<Map<String,Object>> getAllRows() {
        return rowMap.values();
    Map<String,Object> getRow(Object key) {
        Map<String,Object> row = rowMap.get(key);
        return row;
    // rkv: Do we still need this? Probably needs to be tweaked a bit 
    // to work with the support for specifying which column to use as the 
    // primary key 
    Map<String,Object> newRow(Object key) {
        Map<String,Object> row = new HashMap<String, Object>();
        row.put("id", key);
        rowMap.put(key, row);