private static class DHTSelection.acceptRemoteIndexSeedEnum extends LookAheadIterator<Seed> implements java.util.Iterator<Seed>, java.lang.Iterable<Seed>
Modifier and Type | Field and Description |
---|---|
private boolean |
alsoMyOwn |
private int |
remaining |
private java.util.Iterator<Seed> |
se |
private SeedDB |
seedDB |
Modifier | Constructor and Description |
---|---|
private |
DHTSelection.acceptRemoteIndexSeedEnum(SeedDB seedDB,
byte[] starthash,
int max,
boolean alsoMyOwn) |
Modifier and Type | Method and Description |
---|---|
protected Seed |
next0()
the internal next-method
|
hasNext, iterator, next, remove
private final java.util.Iterator<Seed> se
private final SeedDB seedDB
private int remaining
private final boolean alsoMyOwn
private DHTSelection.acceptRemoteIndexSeedEnum(SeedDB seedDB, byte[] starthash, int max, boolean alsoMyOwn)
protected Seed next0()
LookAheadIterator
next0
in class LookAheadIterator<Seed>