final class SubtypeIterator<T,U extends T>
extends java.lang.Object
implements java.util.Iterator<U>
| Modifier and Type | Field and Description |
|---|---|
private java.util.Iterator<? extends T> |
core |
private boolean |
fetched |
private T |
next |
private java.lang.Class<U> |
type |
| Constructor and Description |
|---|
SubtypeIterator(java.util.Iterator<? extends T> core,
java.lang.Class<U> type) |
| Modifier and Type | Method and Description |
|---|---|
private void |
fetch() |
boolean |
hasNext() |
U |
next() |
void |
remove() |