net.intelie.pipes.AbstractRowList Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pipes-api Show documentation
Show all versions of pipes-api Show documentation
Intelie Pipes' API classes and interfaces
package net.intelie.pipes;
import net.intelie.pipes.util.Iterables;
public abstract class AbstractRowList implements RowList {
private static final long serialVersionUID = 1L;
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (!(o instanceof RowList)) return false;
RowList rows = (RowList) o;
return Iterables.equals(this, rows);
}
@Override
public int hashCode() {
return Iterables.hash(this);
}
@Override
public String toString() {
return "[" + Iterables.join(", ", this) + "]";
}
}