Lines Matching defs:InetSocketAddress
53 public class InetSocketAddress
157 public InetSocketAddress() {
174 public InetSocketAddress(int port) {
193 public InetSocketAddress(InetAddress addr, int port) {
226 public InetSocketAddress(String hostname, int port) {
239 private InetSocketAddress(int port, String hostname) {
260 * @return a {@code InetSocketAddress} representing the unresolved
264 public static InetSocketAddress createUnresolved(String host, int port) {
265 return new InetSocketAddress(checkPort(port), checkHost(host));
322 InetSocketAddress.class.getDeclaredField("holder"));
382 * Constructs a string representation of this InetSocketAddress.
400 * Two instances of {@code InetSocketAddress} represent the same
416 if (obj == null || !(obj instanceof InetSocketAddress))
418 return holder.equals(((InetSocketAddress) obj).holder);