@Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Matice other = (Matice) obj;
        if (!Arrays.deepEquals(this.matice, other.matice)) {
            return false;
        }
        return true;
    }