Пример #1
0
 @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);
 }
Пример #2
0
 public String getLabel(Interactor interactor) {
   return InteractorUtil.getLabel(interactor);
 }
Пример #3
0
 @Override
 public String toString(Interactor interactor) {
   return InteractorUtil.toString(interactor);
 }
Пример #4
0
 public Object getKey(Interactor interactor) {
   return InteractorUtil.getKey(interactor);
 }