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

org.opencompare.api.java.util.MatrixComparatorEqualityImpl Maven / Gradle / Ivy

package org.opencompare.api.java.util;

import org.opencompare.api.java.Cell;
import org.opencompare.api.java.io.IOCell;

/**
 * Created by smangin on 7/9/15.
 */
public class MatrixComparatorEqualityImpl implements MatrixComparator {

    @Override
    public boolean compareCells(IOCell c1, IOCell c2) {
        if (c1 == null && c2 == null) {
            return true;
        }
        if (c1 == null) {
            return false;
        }
        return c1.equals(c2);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy