public static ArrayChar makeFromStringArray ( ArrayObject values ) { // find longest string IndexIterator ii = values . getIndexIterator ( ) ; int strlen = 0 ; while ( ii . hasNext ( ) ) { String s = ( String ) ii . next ( ) ; strlen = Math . max ( s . length ( ) , strlen ) ; } return makeFromStringArray ( values , strlen ) ; }
Create an ArrayChar from an ArrayObject of Strings .