code: private static int getMaxLength( String[] values )
      {
          int result = 0;
          
          for ( int i = 0, curr = 0; i < values.length; i++ )
          {
              if ( ( curr = values[i].length() ) > result )
              {
                  result = curr;
              }
          }
          return result;
      }
docs: Returns the maximum {@link String} length of array of {@link String}s.
  @param values the array of {@link String}s
  @return the maximum {@link String} length of array of {@link String}s