Code example for Set

Methods: hashCode

0
    result = 31 * result + (action != null ? action.hashCode() : 0);
    result = 31 * result + (packageName != null ? packageName.hashCode() : 0);
    result = 31 * result + (componentName != null ? componentName.hashCode() : 0);
    result = 31 * result + (data != null ? data.hashCode() : 0);
    result = 31 * result + (type != null ? type.hashCode() : 0);
    result = 31 * result + (categories != null ? categories.hashCode() : 0);
    result = 31 * result + flags;
    return result;
  } 
 
  @Override 
  @Implementation 
  public boolean equals(Object o) {
    if (!(o instanceof Intent)) return false;
    return realIntentEquals(shadowOf((Intent) o));
  } 
 
  /** 
   * Non-Android accessor that returns the {@code Class} object set by 
   * {@link #setClass(android.content.Context, Class)} 
   *