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