List of usage examples for org.apache.spark.api.java.function DoubleFlatMapFunction call
Iterator<Double> call(T t) throws Exception;
From source file:org.apache.crunch.fn.SFunctions.java
License:Apache License
public static <T> SDoubleFlatMapFunction<T> wrap(final DoubleFlatMapFunction<T> f) { return new SDoubleFlatMapFunction<T>() { @Override/* w w w .j a va 2s . com*/ public Iterable<Double> call(T t) throws Exception { return f.call(t); } }; }