final public StringWrapper prepare ( String s ) { MultiStringWrapper ms = new MultiStringWrapper ( s , delim ) ; if ( ! isLegalMultiStringWrapperSize ( ms . size ( ) ) ) { throw new IllegalArgumentException ( "string has invalid number of fields" ) ; } for ( int i = 0 ; i < ms . size ( ) ; i ++ ) { ms . set ( i , getDistance ( i ) . prepare ( ms . get ( i ) . unwrap ( ) ) ) ; } return ms ; }
Prepare a string .