hydra.langs.tabular.DataRow Maven / Gradle / Ivy
package hydra.langs.tabular;
import java.io.Serializable;
/**
* A data row, containing optional-valued cells; one per column
*/
public class DataRow implements Serializable {
public static final hydra.core.Name NAME = new hydra.core.Name("hydra/langs/tabular.DataRow");
public final java.util.List> value;
public DataRow (java.util.List> value) {
this.value = value;
}
@Override
public boolean equals(Object other) {
if (!(other instanceof DataRow)) {
return false;
}
DataRow o = (DataRow) (other);
return value.equals(o.value);
}
@Override
public int hashCode() {
return 2 * value.hashCode();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy