public List < Integer > getIntegers ( String name , String delimiter ) { List < String > strings = getStrings ( name , delimiter ) ; List < Integer > ints = new ArrayList <> ( strings . size ( ) ) ; for ( String value : strings ) { try { int i = Integer . parseInt ( value ) ; ints . add ( i ) ; } catch ( NumberFormatException e ) { } } return Collections . unmodifiableList ( ints ) ; }
Returns a list of integers from the specified name using the specified delimiter .