public static boolean isSimpleMatchPattern(String str){
  return str.indexOf('*') != -1;
}

public static boolean isSimpleMatchPattern ( String str ) { return str . indexOf ( '*' ) != - 1 ; }
is the str a simple match pattern .
