@@ -0,0 +1,445 @@
+// http://codingbat.com/prob/p141736%0A%0Apublic boolean equalIsNot(String str) %7B%0A  int isIndex = str.indexOf(%22is%22);%0A  int isCount = 0;%0A  %0A  int notIndex = str.indexOf(%22not%22);%0A  int notCount = 0;%0A  %0A  while (isIndex %3E= 0) %7B%0A    isCount++;%0A    isIndex = str.indexOf(%22is%22, isIndex + %22is%22.length());%0A  %7D%0A  %0A  while (notIndex %3E= 0) %7B%0A    notCount++;%0A    notIndex = str.indexOf(%22not%22, notIndex + %22not%22.length());%0A  %7D%0A  %0A  return (isCount == notCount);%0A%7D%0A

Create equalIsNot.java