public abstract static class Iterators.Adapter<T,U>
extends java.lang.Object
Iterator that wraps another Iterator and changes its type.| Constructor | Description |
|---|---|
Adapter(java.util.Iterator<? extends U> core) |
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract T |
filter(U u) |
|
boolean |
hasNext() |
|
T |
next() |
|
void |
remove() |
Copyright © 2018 Oracle Corporation. All rights reserved.