question: public List < String > chunkIntoList ( String text ) { List < String > chunks = new ArrayList < String > ( ) ; if ( text == null ) { return Collections . emptyList ( ) ; } int chunkCount = ( text . length ( ) - 1 ) / CHUNK_SIZE ; for ( int offset = 0 ; offset <= chunkCount ; offset ++ ) { if ( offset < chunkCount ) { chunks . add ( text . substring ( offset * CHUNK_SIZE , offset * CHUNK_SIZE + CHUNK_SIZE ) ) ; } else { chunks . add ( text . substring ( offset * CHUNK_SIZE ) ) ; } } return chunks ; }
target:  Takes the String 'text' argument and splits it into chunks, placed into the chunks List<String>