@Test public void testGetInstance() { StandardNameResolver nameResolver1 = StandardNameResolver.getInstance(); StandardNameResolver nameResolver2 = StandardNameResolver.getInstance(); Assert.assertNotNull(nameResolver1); Assert.assertSame(nameResolver1, nameResolver2); }
public static StandardNameResolver getInstance() { return INSTANCE; }
StandardNameResolver implements ParsecNameResolver { public static StandardNameResolver getInstance() { return INSTANCE; } }
StandardNameResolver implements ParsecNameResolver { public static StandardNameResolver getInstance() { return INSTANCE; }  }
StandardNameResolver implements ParsecNameResolver { public static StandardNameResolver getInstance() { return INSTANCE; }  static StandardNameResolver getInstance(); @Override InetAddress resolve(String name); }
StandardNameResolver implements ParsecNameResolver { public static StandardNameResolver getInstance() { return INSTANCE; }  static StandardNameResolver getInstance(); @Override InetAddress resolve(String name);  }