code: public static boolean endsWith(final String value, final String search, final boolean caseSensitive) {
          validate(value, NULL_STRING_PREDICATE, NULL_STRING_MSG_SUPPLIER);
          return endsWith(value, search, value.length(), caseSensitive);
      }
docs: Test if value ends with search.
  
  @param value         input string
  @param search        string to search
  @param caseSensitive true or false
  @return true or false