
org.psjava.util.ConvertedDataIterable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of psjava Show documentation
Show all versions of psjava Show documentation
Problem Solving Library for Java
package org.psjava.util;
import java.util.Iterator;
public class ConvertedDataIterable {
public static Iterable create(final Iterable outerIterable, final DataConverter converter) {
return new Iterable() {
@Override
public Iterator iterator() {
return ConvertedDataIterator.create(outerIterable.iterator(), converter);
}
};
}
private ConvertedDataIterable() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy