class DecimalType extends Number implements PrimitiveType, State, Command, Comparable<DecimalType> {

    @Override
    public boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null) {
            return false;
        }
        if (!(obj instanceof DecimalType)) {
            return false;
        }
        DecimalType other = (DecimalType) obj;
        return value.compareTo(other.value) == 0;
    }

    public  DecimalType();
    public  DecimalType(BigDecimal value);
    public  DecimalType(long value);
    public  DecimalType(double value);
    public  DecimalType(String value);

}