public class Node extends Object implements Comparable<Node>
Node(String ip, int port)
int
compareTo(Node other)
boolean
equals(Object o)
String
getIp()
getPeerHost()
getPort()
hashCode()
toString()
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public Node(String ip, int port)
public int compareTo(Node other)
compareTo
Comparable<Node>
public String getIp()
public int getPort()
public String getPeerHost()
public int hashCode()
hashCode
Object
public boolean equals(Object o)
equals
public String toString()
toString
Copyright © 2023. All rights reserved.