@Test public void testEmptyRoundTrip() throws IOException { MultiResponse result = new MultiResponse(); MultiResponse decodedResult = codeDecode(result); Assert.assertEquals(result, decodedResult); Assert.assertEquals(result.hashCode(), decodedResult.hashCode()); }
@Override public int hashCode() { int hash = results.size(); for (OpResult result : results) { hash = (hash * 35) + result.hashCode(); } return hash; }
MultiResponse implements Record, Iterable<OpResult> { @Override public int hashCode() { int hash = results.size(); for (OpResult result : results) { hash = (hash * 35) + result.hashCode(); } return hash; } }
MultiResponse implements Record, Iterable<OpResult> { @Override public int hashCode() { int hash = results.size(); for (OpResult result : results) { hash = (hash * 35) + result.hashCode(); } return hash; }  }
MultiResponse implements Record, Iterable<OpResult> { @Override public int hashCode() { int hash = results.size(); for (OpResult result : results) { hash = (hash * 35) + result.hashCode(); } return hash; }  void add(OpResult x); @Override Iterator<OpResult> iterator(); int size(); @Override void serialize(OutputArchive archive, String tag); @Override void deserialize(InputArchive archive, String tag); List<OpResult> getResultList(); @Override boolean equals(Object o); @Override int hashCode(); }
MultiResponse implements Record, Iterable<OpResult> { @Override public int hashCode() { int hash = results.size(); for (OpResult result : results) { hash = (hash * 35) + result.hashCode(); } return hash; }  void add(OpResult x); @Override Iterator<OpResult> iterator(); int size(); @Override void serialize(OutputArchive archive, String tag); @Override void deserialize(InputArchive archive, String tag); List<OpResult> getResultList(); @Override boolean equals(Object o); @Override int hashCode();  }