Package org.snpeff.util
Class Iterator2Iterable<T>
- java.lang.Object
-
- org.snpeff.util.Iterator2Iterable<T>
-
- Type Parameters:
T
-
- All Implemented Interfaces:
java.lang.Iterable<T>
public class Iterator2Iterable<T> extends java.lang.Object implements java.lang.Iterable<T>
Convert an iterator instance to a (fake) iterable- Author:
- pablocingolani
-
-
Constructor Summary
Constructors Constructor Description Iterator2Iterable(java.util.Iterator<T> iterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<T>
iterator()
-