@Test public void hash() { assertThat(new InProcessSocketAddress("a").hashCode()) .isEqualTo(new InProcessSocketAddress(new String("a")).hashCode()); }
@Override public int hashCode() { return name.hashCode(); }
InProcessSocketAddress extends SocketAddress { @Override public int hashCode() { return name.hashCode(); } }
InProcessSocketAddress extends SocketAddress { @Override public int hashCode() { return name.hashCode(); } InProcessSocketAddress(String name); }
InProcessSocketAddress extends SocketAddress { @Override public int hashCode() { return name.hashCode(); } InProcessSocketAddress(String name); String getName(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); }
InProcessSocketAddress extends SocketAddress { @Override public int hashCode() { return name.hashCode(); } InProcessSocketAddress(String name); String getName(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }