@Test public void hashCodeTest() { String name = TestUtils.getRandomString(10); assertEquals("Hashcode is not as expected", name.hashCode(), LogSegmentNameHelper.hashcode(name)); }
static int hashcode(String name) { return name.hashCode(); }
LogSegmentNameHelper { static int hashcode(String name) { return name.hashCode(); } }
LogSegmentNameHelper { static int hashcode(String name) { return name.hashCode(); }  }
LogSegmentNameHelper { static int hashcode(String name) { return name.hashCode(); }   }
LogSegmentNameHelper { static int hashcode(String name) { return name.hashCode(); }    }