Returns true if the Subchannel, Status, and ClientStreamTracer.Factory all match.
(Object other)
| 800 | * {@link ClientStreamTracer.Factory} all match. |
| 801 | */ |
| 802 | @Override |
| 803 | public boolean equals(Object other) { |
| 804 | if (!(other instanceof PickResult)) { |
| 805 | return false; |
| 806 | } |
| 807 | PickResult that = (PickResult) other; |
| 808 | return Objects.equal(subchannel, that.subchannel) && Objects.equal(status, that.status) |
| 809 | && Objects.equal(streamTracerFactory, that.streamTracerFactory) |
| 810 | && drop == that.drop; |
| 811 | } |
| 812 | } |
| 813 | |
| 814 | /** |