@Override
    public boolean equals(Object obj) {
        if (this == obj) return true;
        if (obj == null || getClass() != obj.getClass()) return false;

        RomanSymbol that = (RomanSymbol) obj;

        return value == that.value && !(symbol != null ? !symbol.equals(that.symbol) : that.symbol != null);

    }