public static < T extends Object > void bigger ( Comparable < T > value , T reference ) { if ( ! validation ) return ; Validate . notNull ( value ) ; Validate . notNull ( reference ) ; if ( value . compareTo ( reference ) <= 0 ) throw new ParameterException ( ErrorCode . RANGEVIOLATION , "Parameter is smaller or equal " + reference ) ; }
Checks if the given value is bigger than the reference value .