public static boolean endAny ( String target , List < String > endWith ) { if ( isNull ( target ) ) { return false ; } return matcher ( target ) . ends ( endWith ) ; }
Check if target string ends with any of a list of specified strings .