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

com.github.houbb.valid.jsr.constraint.BigDecimalMaxConstraint Maven / Gradle / Ivy

package com.github.houbb.valid.jsr.constraint;

import com.github.houbb.heaven.annotation.ThreadSafe;
import com.github.houbb.valid.core.api.constraint.AbstractLessThanConstraint;

import java.math.BigDecimal;

/**
 * BigDecimal max 约束
 * (1)value 必须小于等于 max
 * @author binbin.hou
 * @since 0.0.3
 * @see BigDecimal
 */
@ThreadSafe
class BigDecimalMaxConstraint extends AbstractLessThanConstraint {

    public BigDecimalMaxConstraint(boolean inclusive, BigDecimal expect) {
        super(inclusive, expect);
    }

    public BigDecimalMaxConstraint(BigDecimal expect) {
        super(expect);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy