boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; StringCase aCase = (StringCase)o; return myHasLower == aCase.myHasLower && myHasUpper == aCase.myHasUpper; }