472473474475476477478
* @param suffix * the suffix. * @return empty String (""). */ public static String endsWith(String suffix) { return reportMatcher(new EndsWith(suffix)).returnString(); }
* @param suffix * the suffix. * @return <code>null</code>. */ public static String endsWith(String suffix) { return reportMatcher(new EndsWith(suffix)).<String>returnNull(); }
419420421422423424425
568569570571572573574
490491492493494495496
59606162636465
public static Matcher<String> startsWith(String prefix) { return new StartsWith(prefix); } public static Matcher<String> endsWith(String suffix) { return new EndsWith(suffix); }