class ClassIterator extends AbstractIterator<Class<?>>
Iterator
that iterates the Class
es filtered according to
ClasspathScannerImpl.getClasspathResourceClasses(Filter, Filter)
.Modifier and Type | Field and Description |
---|---|
private Filter<Class<?>> |
classFilter |
private Filter<String> |
classnameFilter |
private Iterator<ClasspathFile> |
classpathFiles |
Constructor and Description |
---|
ClassIterator(Iterator<ClasspathFile> classpathFiles,
Filter<String> classnameFilter,
Filter<Class<?>> classFilter)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Class<?> |
findNext()
This method tries to find the
next element. |
findFirst, hasNext, next, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
private final Iterator<ClasspathFile> classpathFiles
protected Class<?> findNext()
AbstractIterator
next
element.findNext
in class AbstractIterator<Class<?>>
null
if done
.Copyright © 2001–2016 mmm-Team. All rights reserved.