public class FamilyName implements Comparable { private String origN; public FamilyName(String nameString) { this.origN = nameString; this.origN.trim(); //correction: this line will not do what was intended. //it should be: this.origN = this.origN.trim(); //or better yet, combining the two statements: this.origN = nameString.trim(); } public String getName() {return origN;} /** Implement the method required */ //taken from CharGenerator.java public static boolean isEnglishUpperCase(char c) { if (c <= 'Z' && c >= 'A') { return true; } return false; //end isEnglishUpperCase } String normalize(String s){ s = s.toUpperCase(); String retStr = ""; int c = 0; if( (s.length() >= 2) && (s.charAt(0) == 'M') && (s.charAt(1) == 'C') ){ retStr = "MAC"; c= 2; } for( ; c