public static class InterfaceDefinition.InterfaceIterator extends Object implements Iterator<IInterfaceDefinition>
| Constructor and Description |
|---|
InterfaceDefinition.InterfaceIterator(ClassDefinitionBase cls,
ICompilerProject project,
Collection<ICompilerProblem> problems)
Creates iterator for all interfaces implemented by a class
|
InterfaceDefinition.InterfaceIterator(IInterfaceDefinition thisInterface,
ICompilerProject project,
boolean includeThis,
Collection<ICompilerProblem> problems)
Creates iterator for all interfaces extended by an interface
|
public InterfaceDefinition.InterfaceIterator(IInterfaceDefinition thisInterface, ICompilerProject project, boolean includeThis, Collection<ICompilerProblem> problems)
thisInterface - is the interface we are interested inproblems - may be null if problem reporting not neededpublic InterfaceDefinition.InterfaceIterator(ClassDefinitionBase cls, ICompilerProject project, Collection<ICompilerProblem> problems)
cls - is the class definition we are interested inproblems - may be null if problem reporting not neededpublic boolean hasNext()
hasNext in interface Iterator<IInterfaceDefinition>public IInterfaceDefinition next()
next in interface Iterator<IInterfaceDefinition>public void remove()
remove in interface Iterator<IInterfaceDefinition>Copyright © 2016 The Apache Software Foundation. All rights reserved.