Code example for UUID

Methods: toString

0
    public int getListenPort() { 
        return listenPort;
    } 
 
    public String toString() {
        return workerId.toString() + " (" + listenAddress + ":" + listenPort + ")";
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE