diff options
Diffstat (limited to 'core/src/main/scala/spark/api/java/function/DoubleFunction.java')
-rw-r--r-- | core/src/main/scala/spark/api/java/function/DoubleFunction.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/main/scala/spark/api/java/function/DoubleFunction.java b/core/src/main/scala/spark/api/java/function/DoubleFunction.java index a03a72c835..c6ef76d088 100644 --- a/core/src/main/scala/spark/api/java/function/DoubleFunction.java +++ b/core/src/main/scala/spark/api/java/function/DoubleFunction.java @@ -5,6 +5,9 @@ import scala.runtime.AbstractFunction1; import java.io.Serializable; +/** + * A function that returns Doubles, and can be used to construct DoubleRDDs. + */ // DoubleFunction does not extend Function because some UDF functions, like map, // are overloaded for both Function and DoubleFunction. public abstract class DoubleFunction<T> extends WrappedFunction1<T, Double> |