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

dev.marksman.collectionviews.ConcreteVector Maven / Gradle / Ivy

There is a newer version: 1.2.3
Show newest version
package dev.marksman.collectionviews;

abstract class ConcreteVector implements Vector {

    @Override
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof Vector)) {
            return false;
        }
        return VectorHelpers.vectorEquals(this, (Vector) o);
    }

    @Override
    public int hashCode() {
        return VectorHelpers.vectorHashCode(this);
    }

    @Override
    public String toString() {
        return VectorHelpers.vectorToString(this);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy