@Override public boolean equals(Object object) { InteractorListObject other = (InteractorListObject) object; Object thisKey = InteractorUtil.getKey(this.interactor); Object otherKey = InteractorUtil.getKey(other.interactor); if (thisKey == null) return false; if (otherKey == null) return false; return thisKey.equals(otherKey); }
public String getLabel(Interactor interactor) { return InteractorUtil.getLabel(interactor); }
@Override public String toString(Interactor interactor) { return InteractorUtil.toString(interactor); }
public Object getKey(Interactor interactor) { return InteractorUtil.getKey(interactor); }