All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.intelie.pipes.AbstractRawEvent Maven / Gradle / Ivy

There is a newer version: 0.25.5
Show newest version
package net.intelie.pipes;

import net.intelie.pipes.util.Iterables;

public abstract class AbstractRawEvent implements RawEvent {
    private static final long serialVersionUID = 1L;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof RawEvent)) return false;

        RawEvent rows = (RawEvent) o;

        return Iterables.equals(this, rows);
    }

    @Override
    public int hashCode() {
        int result = 0;
        for (Object obj : this) {
            result *= 31;
            result ^= obj.hashCode();
        }
        return result;
    }

    @Override
    public String toString() {
        return "[" + Iterables.join(", ", this) + "]";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy