Signed-off-by:Roland Häder <roland@mxchange.org>
* @return Own data?
*/
public Boolean isOwnContact ();
+
+ /**
+ * Check if contacts are same or throw an exception
+ * <p>
+ * @param object Other possible contact class
+ * <p>
+ * @return Whether both contacts are same TODO Needs a lot improvements
+ */
+ @Override
+ public boolean equals (final Object object);
+
+ @Override
+ public int hashCode ();
}
this.setContactUpdated(contact.getContactUpdated());
}
- /**
- * Check if contacts are same or throw an exception
- * <p>
- * @param object Other possible contact class
- * <p>
- * @return Whether both contacts are same TODO Needs a lot improvements
- */
@Override
public boolean equals (final Object object) {
// Is it same type?