I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 38fda46d authored by zzz's avatar zzz
Browse files

javadoc

parent 9d383d6a
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,7 @@ import net.i2p.data.SimpleDataStructure; ...@@ -17,6 +17,7 @@ import net.i2p.data.SimpleDataStructure;
* a local key, using XOR as the distance metric * a local key, using XOR as the distance metric
* *
* Refactored from net.i2p.router.networkdb.kademlia * Refactored from net.i2p.router.networkdb.kademlia
* @since 0.9.2
*/ */
public interface KBucket<T extends SimpleDataStructure> { public interface KBucket<T extends SimpleDataStructure> {
......
...@@ -41,6 +41,7 @@ import net.i2p.util.ConcurrentHashSet; ...@@ -41,6 +41,7 @@ import net.i2p.util.ConcurrentHashSet;
* removing entries, this KBucket will exceed the max size. * removing entries, this KBucket will exceed the max size.
* *
* Refactored from net.i2p.router.networkdb.kademlia * Refactored from net.i2p.router.networkdb.kademlia
* @since 0.9.2
*/ */
class KBucketImpl<T extends SimpleDataStructure> implements KBucket<T> { class KBucketImpl<T extends SimpleDataStructure> implements KBucket<T> {
/** /**
......
...@@ -35,6 +35,7 @@ import net.i2p.util.Log; ...@@ -35,6 +35,7 @@ import net.i2p.util.Log;
* times 2**(B-1) for Kademlia value B. * times 2**(B-1) for Kademlia value B.
* *
* Refactored from net.i2p.router.networkdb.kademlia * Refactored from net.i2p.router.networkdb.kademlia
* @since 0.9.2
*/ */
public class KBucketSet<T extends SimpleDataStructure> { public class KBucketSet<T extends SimpleDataStructure> {
private final Log _log; private final Log _log;
......
...@@ -4,6 +4,7 @@ import net.i2p.data.SimpleDataStructure; ...@@ -4,6 +4,7 @@ import net.i2p.data.SimpleDataStructure;
/** /**
* Visit kbuckets, gathering matches * Visit kbuckets, gathering matches
* @since 0.9.2
*/ */
public interface SelectionCollector<T extends SimpleDataStructure> { public interface SelectionCollector<T extends SimpleDataStructure> {
public void add(T entry); public void add(T entry);
......
...@@ -8,6 +8,7 @@ import net.i2p.data.SimpleDataStructure; ...@@ -8,6 +8,7 @@ import net.i2p.data.SimpleDataStructure;
/** /**
* Help sort Hashes in relation to a base key using the XOR metric * Help sort Hashes in relation to a base key using the XOR metric
* *
* @since 0.9.2
*/ */
class XORComparator<T extends SimpleDataStructure> implements Comparator<T> { class XORComparator<T extends SimpleDataStructure> implements Comparator<T> {
private final byte[] _base; private final byte[] _base;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment