Top Constructors Methods
org.hibernate.validator.internal.constraintvalidators.bv.number.bound.decimal

pack-priv final Class DecimalNumberComparatorHelper

extends Object
Class Inheritance
Imports
java.math.BigDecimal, .BigInteger, java.util.OptionalInt, org.hibernate.validator.internal.constraintvalidators.bv.number.InfinityNumberComparatorHelper

Author
Marko Bekhta

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static int
compare(BigDecimal number, BigDecimal value)

public static int
compare(BigInteger number, BigDecimal value)

public static int
compare(Long number, BigDecimal value)

public static int
compare(Number number, BigDecimal value, OptionalInt treatNanAs)

public static int
compare(Double number, BigDecimal value, OptionalInt treatNanAs)

public static int
compare(Float number, BigDecimal value, OptionalInt treatNanAs)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

DecimalNumberComparatorHelperback to summary
private DecimalNumberComparatorHelper()

Method Detail

compareback to summary
public static int compare(BigDecimal number, BigDecimal value)
compareback to summary
public static int compare(BigInteger number, BigDecimal value)
compareback to summary
public static int compare(Long number, BigDecimal value)
compareback to summary
public static int compare(Number number, BigDecimal value, OptionalInt treatNanAs)
compareback to summary
public static int compare(Double number, BigDecimal value, OptionalInt treatNanAs)
compareback to summary
public static int compare(Float number, BigDecimal value, OptionalInt treatNanAs)