public static class TypeDefinition.SuperClassIterator extends Object implements Iterator<TypeDefinition>
Constructor and Description |
---|
SuperClassIterator(TypeDefinition initialType)
Creates a new iterator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
TypeDefinition |
next() |
void |
remove() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEachRemaining
public SuperClassIterator(TypeDefinition initialType)
initialType
- The initial type of this iterator.public boolean hasNext()
hasNext
in interface Iterator<TypeDefinition>
public TypeDefinition next()
next
in interface Iterator<TypeDefinition>
public void remove()
remove
in interface Iterator<TypeDefinition>
Copyright © 2014–2016. All rights reserved.