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.
|
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.