| Constructor and Description |
|---|
IterableAdaptor(Enumeration<T> en)
sometimes you have an Enumeration and you want an Iterable
|
IterableAdaptor(Iterator<T> it)
sometimes you have an Iterator but you want to use a for
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Iterable<T> |
adapt(Enumeration<T> enin) |
static <T> Iterable<T> |
adapt(Iterator<T> itin) |
Iterator<T> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic IterableAdaptor(Enumeration<T> en)
Copyright © 2021. All rights reserved.