@Override
    public boolean equals(Object object) {
        if (object instanceof Cell) {
            return getColumn() == ((Cell) object).getColumn() && getRow() == ((Cell) object).getRow();
        }
        return super.equals(object);
    }
Gets the ID.It is counted from left to right, top to bottom of the
matrix, starting by zero.

@return the ID.
android-patternview/src/main/java/com/eftimoff/patternview/cells/Cell.java