Class DirectoryCodeBase.DirectoryCodeBaseIterator
- java.lang.Object
-
- edu.umd.cs.findbugs.classfile.impl.DirectoryCodeBase.DirectoryCodeBaseIterator
-
- All Implemented Interfaces:
ICodeBaseIterator
- Enclosing class:
- DirectoryCodeBase
private class DirectoryCodeBase.DirectoryCodeBaseIterator extends java.lang.Object implements ICodeBaseIterator
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.Iterator<java.lang.String>
fileNameIterator
-
Constructor Summary
Constructors Modifier Constructor Description private
DirectoryCodeBaseIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
Return true if there is another resource to be scanned, false otherwise.ICodeBaseEntry
next()
Get the ICodeBaseEntry representing the next resource in the code base.
-
-
-
Method Detail
-
hasNext
public boolean hasNext() throws java.lang.InterruptedException
Description copied from interface:ICodeBaseIterator
Return true if there is another resource to be scanned, false otherwise.- Specified by:
hasNext
in interfaceICodeBaseIterator
- Returns:
- true if there is another resource to be scanned, false otherwise
- Throws:
java.lang.InterruptedException
-
next
public ICodeBaseEntry next() throws java.lang.InterruptedException
Description copied from interface:ICodeBaseIterator
Get the ICodeBaseEntry representing the next resource in the code base.- Specified by:
next
in interfaceICodeBaseIterator
- Returns:
- the ICodeBaseEntry representing the next resource in the code base
- Throws:
java.lang.InterruptedException
-
-