boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; RegistrationEntry entry = (RegistrationEntry)o; if (myOffset != entry.myOffset) return false; if (myRegistrationType != entry.myRegistrationType) return false; return true; }