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

io.luchta.forma4j.reader.model.excel.Address Maven / Gradle / Ivy

There is a newer version: 1.7.2
Show newest version
package io.luchta.forma4j.reader.model.excel;

import java.util.Objects;

public class Address {
    private Index rowIndex;
    private Index columnIndex;

    public Address(Index rowIndex, Index columnIndex) {
        this.rowIndex = rowIndex;
        this.columnIndex = columnIndex;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Address address = (Address) o;
        return Objects.equals(rowIndex, address.rowIndex) && Objects.equals(columnIndex, address.columnIndex);
    }

    @Override
    public int hashCode() {
        return Objects.hash(rowIndex, columnIndex);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy