public class SingleUseIterable<T> extends Object implements Iterable<T>
iterator()
method is not called more than once.Constructor and Description |
---|
SingleUseIterable(Iterable<T> toWrap)
Instantiate around an Iterable that may only be used once.
|
Modifier and Type | Method and Description |
---|---|
Iterator<T> |
iterator() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
Copyright © 2016 The Apache Software Foundation. All rights reserved.