Package net.i2p.router.sybil
Class Pair
java.lang.Object
net.i2p.router.sybil.Pair
- All Implemented Interfaces:
Comparable<Pair>
public class Pair extends Object implements Comparable<Pair>
A pair of routers and the distance between them.
- Since:
- 0.9.38 moved from SybilRenderer
-
Field Summary
Fields Modifier and Type Field Description BigInteger
dist
RouterInfo
r1
RouterInfo
r2
-
Constructor Summary
Constructors Constructor Description Pair(RouterInfo ri1, RouterInfo ri2, BigInteger distance)
-
Method Summary