Here you can find the source of minimumWordLength(String[] words)
public static Integer minimumWordLength(String[] words)
//package com.java2s; //License from project: Open Source License public class Main { public static Integer minimumWordLength(String[] words) { Integer minLength = Integer.MAX_VALUE; for (String word : words) { if (minLength > word.length()) { minLength = word.length(); }/*from ww w . java 2s . com*/ } return minLength; } }