@@ -0,0 +1,204 @@
+// http://codingbat.com/prob/p186759%0A%0Aboolean doubleX(String str) %7B%0A  return (str.indexOf('x') != -1 &&%0A          str.indexOf('x') %3C  str.length()-1 &&%0A          str.charAt(str.indexOf('x')+1) == 'x');%0A%7D%0A

Create doubleX.java