code: public boolean equalsDeep(Object obj) {
          if (this == obj)
              return true;
          if (obj == null)
              return false;
          if (getClass() != obj.getClass())
              return false;
          RosterEntry other = (RosterEntry) obj;
          return other.item.equals(this.item);
      }
docs: Indicates whether some other object is "equal to" this by comparing all members.
  <p>
  The {@link #equals(Object)} method returns <code>true</code> if the user JIDs are equal.
  
  @param obj the reference object with which to compare.
  @return <code>true</code> if this object is the same as the obj argument; <code>false</code>
  otherwise.