boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; FileContent that = (FileContent)o; if (!myContent.equals(that.myContent)) return false; if (!myFileName.equals(that.myFileName)) return false; return true; }