BufferedReader getkeyWords = new BufferedReader(new InputStreamReader(System.in));
char[] buf = new char[1024];
System.out.println("Please Input the Key");
getkeyWords.read(buf);
String temp = new String(buf);
System.out.println(temp.equals("一"));
char[] buf = new char[1024];
System.out.println("Please Input the Key");
getkeyWords.read(buf);
String temp = new String(buf);
System.out.println(temp.equals("一"));
System.out.println("Please Input the Key");
String temp = getkeyWords.readLine();
System.out.println(temp.equals("一"));
空格啊System.out.println(temp.trim().equals("一"))或者getkeyWords.read(buf);
String temp = new String(buf);
改为
int i = getkeyWords.read(buf);
String temp = new String(buf,0,i);