/**
 * Copyright (C) 2014 Kasper Kronborg Isager.
 */
package dk.itu.donkey;

// General utilities
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

/**
 * Row class.
 *
 * @version 1.0.0
 */
public final class Row {
  /**
   * Internal map for storing column definitions.
   */
  private Map<String, Object> columns = new LinkedHashMap<>();

  /**
   * Get a column value from the row.
   *
   * @param column  The column to get.
   * @return        The column value.
   */
  public Object get(final String column) {
    return this.columns.get(column);
  }

  /**
   * Insert a value into a column.
   *
   * @param column  The column to insert the value into.
   * @param value   The value to insert.
   * @return        The current {@link Row} object, for chaining.
   */
  public Row put(final String column, final Object value) {
    this.columns.put(column, value);

    return this;
  }

  /**
   * Get a list of all columns in the row.
   *
   * @return A list of columns.
   */
  public List<String> getColumns() {
    return new ArrayList(this.columns.keySet());
  }

  /**
   * Get a list of all values in the row.
   *
   * @return A list of values.
   */
  public List<Object> getValues() {
    return new ArrayList(this.columns.values());
  }
}

@@ -178,30 +178,8 @@
 ist;
-%0Aimport java.util.Map;
 %0A%0A/*
@@ -246,688 +246,47 @@
 Row 
-%7B%0A  /**%0A   * Internal map for storing column definitions.%0A   */%0A  private Map%3CString, Object%3E columns = new LinkedHashMap%3C%3E();%0A%0A  /**%0A   * Get a column value from the row.%0A   *%0A   * @param column  The column to get.%0A   * @return        The column value.%0A   */%0A  public Object get(final String column) %7B%0A    return this.columns.get(column);%0A  %7D%0A%0A  /**%0A   * Insert a value into a column.%0A   *%0A   * @param column  The column to insert the value into.%0A   * @param value   The value to insert.%0A   * @return        The current %7B@link Row%7D object, for chaining.%0A   */%0A  public Row put(final String column, final Object value) %7B%0A    this.columns.put(column, value);%0A%0A    return this;%0A  %7D%0A
+extends LinkedHashMap%3CString, Object%3E %7B
 %0A  /
@@ -441,24 +441,16 @@
 st(this.
-columns.
 keySet()
@@ -579,24 +579,24 @@
 tValues() %7B%0A
+
     return n
@@ -613,24 +613,16 @@
 st(this.
-columns.
 values()

Make Row a subclass of LinkedHashMap.