boolean (final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final IndexPattern that = (IndexPattern)o; if (myCaseSensitive != that.myCaseSensitive) return false; if (!myPatternString.equals(that.myPatternString)) return false; return true; }