public boolean removeMemberByC2jName ( String memberC2jName , boolean ignoreCase ) { // Implicitly depending on the default equals and hashcode // implementation of the class MemberModel MemberModel model = tryFindMemberModelByC2jName ( memberC2jName , ignoreCase ) ; return model == null ? false : members . remove ( model ) ; }
Takes in the c2j member name as input and removes if the shape contains a member with the given name . Return false otherwise .