public static class TypeDefinition.SuperClassIterator extends java.lang.Object implements java.util.Iterator<TypeDefinition>
Modifier and Type | Field and Description |
---|---|
private TypeDefinition |
nextClass
The next class to represent.
|
Constructor and Description |
---|
SuperClassIterator(TypeDefinition initialType)
Creates a new iterator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
TypeDefinition |
next() |
void |
remove() |
private TypeDefinition nextClass
public SuperClassIterator(TypeDefinition initialType)
initialType
- The initial type of this iterator.public boolean hasNext()
hasNext
in interface java.util.Iterator<TypeDefinition>
public TypeDefinition next()
next
in interface java.util.Iterator<TypeDefinition>
public void remove()
remove
in interface java.util.Iterator<TypeDefinition>