public static final Number MIN(Number[] vals){
  try {
    Collection col=Arrays.asList(vals);
    Number min=(Number)Collections.max(col);
    return min;
  }
 catch (  VirtualMachineError err) {
    SystemFailure.initiateFailure(err);
    throw err;
  }
catch (  Throwable t) {
    SystemFailure.checkFailure();
    return null;
  }
}

public static final Number MIN ( Number [ ] vals ) { try { Collection col = Arrays . asList ( vals ) ; Number min = ( Number ) Collections . max ( col ) ; return min ; } catch ( VirtualMachineError err ) { SystemFailure . initiateFailure ( err ) ; throw err ; } catch ( Throwable t ) { SystemFailure . checkFailure ( ) ; return null ; } }
apply the minimum function on given list of number
