question: private List < Float > createDashArray ( String dashString ) { String [ ] dashes = dashString . split ( " " ) ; List < Float > floatDashArray = new ArrayList < Float > ( ) ; for ( String dashValue : dashes ) { try { floatDashArray . add ( Float . parseFloat ( dashValue ) ) ; } catch ( NumberFormatException e ) { return null ; } } return floatDashArray ; }
target:  Creates the dash array.