dnet50/modules/dnet-parthenos/trunk/src/main/java/eu/dnetlib/parthenos/workflows/nodes/VirtuosoParthenosIterable.java @ 50809
1 |
package eu.dnetlib.parthenos.workflows.nodes; |
---|---|
2 |
|
3 |
import java.util.Iterator; |
4 |
|
5 |
/**
|
6 |
* Created by Alessia Bardi on 12/02/2018.
|
7 |
*
|
8 |
* @author Alessia Bardi
|
9 |
*/
|
10 |
public class VirtuosoParthenosIterable implements Iterable<String> { |
11 |
|
12 |
private VirtuosoParthenosIterator it; |
13 |
|
14 |
public VirtuosoParthenosIterable(VirtuosoParthenosIterator it) { |
15 |
this.it = it; |
16 |
}
|
17 |
|
18 |
@Override
|
19 |
public Iterator<String> iterator() { |
20 |
return it; |
21 |
}
|
22 |
}
|