Code example for InetSocketAddress

Methods: equals

0
    } 
 
    @Override 
    public boolean equals(Object obj)
    { 
        return obj instanceof TcpSocketKey && address.equals(((TcpSocketKey) obj).address);
    } 
 
    @Override 
    public int hashCode() 
    { 
        return address.hashCode();
    } 
 
    public ImmutableEndpoint getEndpoint() 
    { 
        return endpoint;
    } 
 
    public TcpConnector getConnector()