@Override public int hashCode() { return getId().hashCode(); }
@Override @Nullable public SimpSession getSession(String sessionId) { if (this.sessionLookup != null) { return this.sessionLookup.findSessions(getName()).get(sessionId); } for (TransferSimpSession session : this.sessions) { if (session.getId().equals(sessionId)) { return session; } } return null; }
@Override public boolean equals(Object other) { return (this == other || (other instanceof SimpSession && getId().equals(((SimpSession) other).getId()))); }
@Override public boolean equals(Object other) { return (this == other || (other instanceof SimpSession && getId().equals(((SimpSession) other).getId()))); }
@Override public int hashCode() { return getId().hashCode(); }
@Override @Nullable public SimpSession getSession(String sessionId) { if (this.sessionLookup != null) { return this.sessionLookup.findSessions(getName()).get(sessionId); } for (TransferSimpSession session : this.sessions) { if (session.getId().equals(sessionId)) { return session; } } return null; }
@Override public boolean equals(Object other) { return (this == other || (other instanceof SimpSession && getId().equals(((SimpSession) other).getId()))); }
@Override public int hashCode() { return getId().hashCode(); }
@Override @Nullable public SimpSession getSession(String sessionId) { if (this.sessionLookup != null) { return this.sessionLookup.findSessions(getName()).get(sessionId); } for (TransferSimpSession session : this.sessions) { if (session.getId().equals(sessionId)) { return session; } } return null; }
@Override @Nullable public SimpSession getSession(String sessionId) { if (this.sessionLookup != null) { return this.sessionLookup.findSessions(getName()).get(sessionId); } for (TransferSimpSession session : this.sessions) { if (session.getId().equals(sessionId)) { return session; } } return null; }
@Override public int hashCode() { return getId().hashCode(); }
@Override public boolean equals(Object other) { return (this == other || (other instanceof SimpSession && getId().equals(((SimpSession) other).getId()))); }