StreamRepartitionStrategy { public int hashCode() { int hashcode = 1 * 31; hashcode += partition.hashCode(); for (String str : totalTargetBoltIds) { hashcode += str.hashCode(); } return hashcode; }  int hashCode(); boolean equals(Object obj); StreamPartition getPartition(); void setPartition(StreamPartition partition); int getNumTotalParticipatingRouterBolts(); void setNumTotalParticipatingRouterBolts(int numTotalParticipatingRouterBolts); int getStartSequence(); void setStartSequence(int startSequence); List<String> getTotalTargetBoltIds(); void setTotalTargetBoltIds(List<String> totalTargetBoltIds); public StreamPartition partition; public int numTotalParticipatingRouterBolts; public int startSequence; public List<String> totalTargetBoltIds; }
@Test public void testStreamRepartitionStrategy() { thrown.expect(NullPointerException.class); StreamRepartitionStrategy streamRepartitionStrategy = new StreamRepartitionStrategy(); streamRepartitionStrategy.hashCode(); }