結果 : java check if string has consecutive characters