public Optional<DiscoveryPeer> get(final PeerId peer) {
    final Bytes peerId = peer.getId();
    if (!idBloom.mightContain(peerId)) {
      return Optional.empty();
    }
    final int distance = distanceFrom(peer);
    return table[distance].getAndTouch(peerId);
  }
Returns the table's representation of a peer, if it exists.

@param peer The peer to query.
@return The stored representation.
ethereum/p2p/src/main/java/org/hyperledger/besu/ethereum/p2p/discovery/internal/PeerTable.java