boon/src/main/java/org/boon/sort/Ordering.java
public static <T> T min( T[] array ) {

        if ( array.length > 1 ) {
            Sorting.sort(array);

            return array[0];
        } else {
            return null;
        }
    }
public static <T> T min( T[] array ) {

        if ( array.length > 1 ) {
            Sorting.sort(array);

            return array[0];
        } else {
            return null;
        }
    }
public static < T > T min ( T [ ] array ) { if ( array . length > 1 ) { Sorting . sort ( array ) ; return array [ 0 ] ; } else { return null ; } }
Returns the max value of the object with the property given.

@param array
@param <T>
@return
Returns the max value of the object with the property given .