## Uses of Class
org.klomp.snark.dht.NodeInfo

- Packages that use NodeInfo
  Package | Description
  --- | ---
  org.klomp.snark.dht | Distributed Hash Table (DHT) implementation for BitTorrent.

- - ### Uses of NodeInfo in org.klomp.snark.dht

    Methods in org.klomp.snark.dht that return NodeInfo
    Modifier and Type | Method and Description
    --- | ---
    `NodeInfo` | DHTNodes.`get(NID nid)`
    `(package private) NodeInfo` | KRPC.`heardAbout(NodeInfo nInfo)` Called for bootstrap or for all nodes in a receiveNodes reply.
    `NodeInfo` | DHTNodes.`putIfAbsent(NodeInfo nInfo)`
    `NodeInfo` | DHTNodes.`remove(NID nid)`

    Methods in org.klomp.snark.dht that return types with arguments of type NodeInfo
    Modifier and Type | Method and Description
    --- | ---
    `List<NodeInfo>` | KRPC.`findClosest(byte[] ih, int max)` Local lookup only
    `List<NodeInfo>` | DHTNodes.`findClosest(SHA1Hash h, int numWant)` DHT
    `Collection<NodeInfo>` | DHTNodes.`values()`

    Methods in org.klomp.snark.dht with parameters of type NodeInfo
    Modifier and Type | Method and Description
    --- | ---
    `int` | NodeInfoComparator.`compare(NodeInfo lhs, NodeInfo rhs)` Compares two nodes based on their XOR distance to the target key.
    `(package private) NodeInfo` | KRPC.`heardAbout(NodeInfo nInfo)` Called for bootstrap or for all nodes in a receiveNodes reply.
    `NodeInfo` | DHTNodes.`putIfAbsent(NodeInfo nInfo)`