public static < T > T min ( Iterable < T > items ) { T answer = null ; for ( T value : items ) { if ( value != null ) { if ( answer == null || ScriptBytecodeAdapter . compareLessThan ( value , answer ) ) { answer = value ; } } } return answer ; }
Selects the minimum value found in an Iterable of items .