net.csdn.validate
Class ValidateHelper.Numericality

java.lang.Object
  extended by net.csdn.validate.ValidateHelper.Numericality
Enclosing class:
ValidateHelper

public static class ValidateHelper.Numericality
extends Object


Field Summary
static String equal_to
           
static String even
           
static String greater_than
           
static String greater_than_or_equal_to
           
static String less_than
           
static String less_than_or_equal_to
           
static String odd
           
 
Constructor Summary
ValidateHelper.Numericality()
           
 
Method Summary
static boolean equal_to(Comparable d1, Comparable d2)
           
static boolean even(Integer d1)
           
static boolean greater_than_or_equal_to(Comparable d1, Comparable d2)
           
static boolean greater_than(Comparable d1, Comparable d2)
           
static boolean less_than_or_equal_to(Comparable d1, Comparable d2)
           
static boolean less_than(Comparable d1, Comparable d2)
           
static boolean odd(Integer d1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

greater_than

public static String greater_than

greater_than_or_equal_to

public static String greater_than_or_equal_to

equal_to

public static String equal_to

less_than

public static String less_than

less_than_or_equal_to

public static String less_than_or_equal_to

odd

public static String odd

even

public static String even
Constructor Detail

ValidateHelper.Numericality

public ValidateHelper.Numericality()
Method Detail

odd

public static boolean odd(Integer d1)

even

public static boolean even(Integer d1)

greater_than

public static boolean greater_than(Comparable d1,
                                   Comparable d2)

greater_than_or_equal_to

public static boolean greater_than_or_equal_to(Comparable d1,
                                               Comparable d2)

equal_to

public static boolean equal_to(Comparable d1,
                               Comparable d2)

less_than

public static boolean less_than(Comparable d1,
                                Comparable d2)

less_than_or_equal_to

public static boolean less_than_or_equal_to(Comparable d1,
                                            Comparable d2)


Copyright © 2014. All Rights Reserved.