@Override public int hashCode() { return getId().hashCode(); }
@Override public int hashCode() { return getId().hashCode() * 31 + getSession().getId().hashCode(); }
@Override public boolean equals(Object other) { return (this == other || (other instanceof SimpSubscription && getId().equals(((SimpSubscription) other).getId()))); }
@Override public int hashCode() { return getId().hashCode() * 31 + getSession().getId().hashCode(); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (!(other instanceof SimpSubscription)) { return false; } SimpSubscription otherSubscription = (SimpSubscription) other; return (getId().equals(otherSubscription.getId()) && getSession().getId().equals(otherSubscription.getSession().getId())); }
@Override public String toString() { return "id=" + getId() + ", subscriptions=" + this.subscriptions; } }
@Override public int hashCode() { return getId().hashCode(); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (!(other instanceof SimpSubscription)) { return false; } SimpSubscription otherSubscription = (SimpSubscription) other; return (getId().equals(otherSubscription.getId()) && getSession().getId().equals(otherSubscription.getSession().getId())); }
@Override public String toString() { return "id=" + getId() + ", subscriptions=" + this.subscriptions; } }
@Override public boolean equals(Object other) { return (this == other || (other instanceof SimpSubscription && getId().equals(((SimpSubscription) other).getId()))); }
@Override public int hashCode() { return getId().hashCode() * 31 + getSession().getId().hashCode(); }
@Override public int hashCode() { return getId().hashCode(); }
@Override public boolean equals(Object other) { return (this == other || (other instanceof SimpSubscription && getId().equals(((SimpSubscription) other).getId()))); }
@Override public boolean equals(Object other) { if (this == other) { return true; } if (!(other instanceof SimpSubscription)) { return false; } SimpSubscription otherSubscription = (SimpSubscription) other; return (getId().equals(otherSubscription.getId()) && getSession().getId().equals(otherSubscription.getSession().getId())); }
@Override public String toString() { return "id=" + getId() + ", subscriptions=" + this.subscriptions; } }