question: public static Predicate < String > endsWith ( final String pattern ) { Objects . requireNonNull ( pattern , "The pattern must not be null" ) ; return null ; }
target:  Create a new predicate returning true when the input String ends with the given pattern.