@Test public void testHashCode() { ServletWrapper wrapper = new ServletWrapper(new MyServlet(), "/url"); assertEquals(wrapper.hashCode(), wrapper.hashCode()); }
@Override public int hashCode() { return new HashCodeBuilder(11, 17).append(getServletHolder()).append(getUrl()).toHashCode(); }
ServletWrapper { @Override public int hashCode() { return new HashCodeBuilder(11, 17).append(getServletHolder()).append(getUrl()).toHashCode(); } }
ServletWrapper { @Override public int hashCode() { return new HashCodeBuilder(11, 17).append(getServletHolder()).append(getUrl()).toHashCode(); } protected  ServletWrapper();  ServletWrapper(Servlet s, String urlMapping); }
ServletWrapper { @Override public int hashCode() { return new HashCodeBuilder(11, 17).append(getServletHolder()).append(getUrl()).toHashCode(); } protected  ServletWrapper();  ServletWrapper(Servlet s, String urlMapping); ServletHolder getServletHolder(); String getUrl(); @Override boolean equals(Object o); @Override int hashCode(); }
ServletWrapper { @Override public int hashCode() { return new HashCodeBuilder(11, 17).append(getServletHolder()).append(getUrl()).toHashCode(); } protected  ServletWrapper();  ServletWrapper(Servlet s, String urlMapping); ServletHolder getServletHolder(); String getUrl(); @Override boolean equals(Object o); @Override int hashCode();  }