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