Code example for Set

Methods: equals

0
        } 
      } 
    } 
    if (getCategories() != other.getCategories()) {
      if (getCategories() != null) { 
        if (!getCategories().equals(other.getCategories())) {
          return false; 
        } 
      } else { 
        if (!other.getCategories().equals(getCategories())) {
          return false; 
        } 
      } 
    } 
 
    return true; 
  } 
 
  /** 
   * Compares an {@code Intent} with a {@code ShadowIntent} (obtained via a call to 
   * {@link Robolectric#shadowOf(android.content.Intent)})