public static List < String > words ( int count , boolean supplemental ) { List < String > words = new ArrayList < String > ( ) ; for ( int i = 0 ; i < count ; i ++ ) { String wordString = word ( ) ; if ( supplemental ) { wordString = wordString + fetchString ( "lorem.supplemental" ) ; } words . add ( wordString ) ; } return words ; }
generate a list of random words