@Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || !getClass().equals(o.getClass())) {
      return false;
    }

    JobInvocation jobInvocation = (JobInvocation) o;

    return tag.equals(jobInvocation.tag) && service.equals(jobInvocation.service);
  }
@return true if the tag and the service of provided {@link JobInvocation} have the same values.
jobdispatcher/src/main/java/com/firebase/jobdispatcher/JobInvocation.java