Code example for InetAddress

Methods: getHostAddress

0
        return addresses;
    } 
 
    public int compareEndpoints(InetAddress target, InetAddress a1, InetAddress a2)
    { 
        return a1.getHostAddress().compareTo(a2.getHostAddress());
    } 
 
    public void gossiperStarting() 
    { 
        //noop by default 
    } 
} 
Experience pair programming with AI  Get Codota for Java