Package org.apache.bookkeeper.verifier
Class BookkeeperVerifier.LedgerInfo.EntryIterator
- java.lang.Object
-
- org.apache.bookkeeper.verifier.BookkeeperVerifier.LedgerInfo.EntryIterator
-
- All Implemented Interfaces:
java.util.Iterator<BookkeeperVerifier.EntryInfo>
- Enclosing class:
- BookkeeperVerifier.LedgerInfo
class BookkeeperVerifier.LedgerInfo.EntryIterator extends java.lang.Object implements java.util.Iterator<BookkeeperVerifier.EntryInfo>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) long
currentID
(package private) long
currentSeed
(package private) java.util.Random
rand
-
Constructor Summary
Constructors Constructor Description EntryIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
advance()
(package private) BookkeeperVerifier.EntryInfo
get()
boolean
hasNext()
BookkeeperVerifier.EntryInfo
next()
(package private) void
seek(long entryID)
-
-
-
Method Detail
-
seek
void seek(long entryID)
-
advance
void advance()
-
get
BookkeeperVerifier.EntryInfo get()
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<BookkeeperVerifier.EntryInfo>
-
next
public BookkeeperVerifier.EntryInfo next()
- Specified by:
next
in interfacejava.util.Iterator<BookkeeperVerifier.EntryInfo>
-
-