@Override public int hashCode() { return Objects.hashCode(source(), target()); }
@Override public int hashCode() { return Objects.hashCode(source(), target()); }
@Override public boolean equals(@Nullable Object obj) { if (obj == this) { return true; } if (!(obj instanceof EndpointPair)) { return false; } EndpointPair<?> other = (EndpointPair<?>) obj; if (isOrdered() != other.isOrdered()) { return false; } return source().equals(other.source()) && target().equals(other.target()); }
@Override public boolean equals(@NullableDecl Object obj) { if (obj == this) { return true; } if (!(obj instanceof EndpointPair)) { return false; } EndpointPair<?> other = (EndpointPair<?>) obj; if (isOrdered() != other.isOrdered()) { return false; } return source().equals(other.source()) && target().equals(other.target()); }
@Override public boolean equals(@Nullable Object obj) { if (obj == this) { return true; } if (!(obj instanceof EndpointPair)) { return false; } EndpointPair<?> other = (EndpointPair<?>) obj; if (isOrdered() != other.isOrdered()) { return false; } return source().equals(other.source()) && target().equals(other.target()); }
@Override public int hashCode() { return Objects.hashCode(source(), target()); }
@Override public int hashCode() { return Objects.hashCode(source(), target()); }
@Override public String toString() { return "<" + source() + " -> " + target() + ">"; } }
@Override public String toString() { return "<" + source() + " -> " + target() + ">"; } }
@Override public int hashCode() { return Objects.hashCode(source(), target()); }
@Override public String toString() { return "<" + source() + " -> " + target() + ">"; } }
@Override public boolean equals(@NullableDecl Object obj) { if (obj == this) { return true; } if (!(obj instanceof EndpointPair)) { return false; } EndpointPair<?> other = (EndpointPair<?>) obj; if (isOrdered() != other.isOrdered()) { return false; } return source().equals(other.source()) && target().equals(other.target()); }
@Override public boolean equals(@NullableDecl Object obj) { if (obj == this) { return true; } if (!(obj instanceof EndpointPair)) { return false; } EndpointPair<?> other = (EndpointPair<?>) obj; if (isOrdered() != other.isOrdered()) { return false; } return source().equals(other.source()) && target().equals(other.target()); }
@Override public String toString() { return "<" + source() + " -> " + target() + ">"; } }
@Override public String toString() { return "<" + source() + " -> " + target() + ">"; } }