public List < Float > getFloats ( String name , String delimiter ) { List < String > strings = getStrings ( name , delimiter ) ; List < Float > floats = new ArrayList <> ( strings . size ( ) ) ; for ( String value : strings ) { try { float i = Float . parseFloat ( value ) ; floats . add ( i ) ; } catch ( NumberFormatException e ) { } } return Collections . unmodifiableList ( floats ) ; }
Returns a list of floats from the specified name using the specified delimiter .