cucumber.runtime.table.DiffableRow Maven / Gradle / Ivy
package cucumber.runtime.table;
import gherkin.formatter.model.Row;
import java.util.List;
public class DiffableRow {
public final Row row;
public final List convertedRow;
public DiffableRow(Row row, List convertedRow) {
this.row = row;
this.convertedRow = convertedRow;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
DiffableRow that = (DiffableRow) o;
return convertedRow.equals(that.convertedRow);
}
@Override
public int hashCode() {
return convertedRow.hashCode();
}
}