diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-04-20 13:47:55 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-04-20 13:47:55 +0200 |
commit | 9a80b7de405a1e3c41f39383daf9b5b68c737030 (patch) | |
tree | 09bc7dd2a3f41326787fc95c636f6dfcffc31bc2 /src/scala/compat/java8/JFunction2$mcZDD$sp.java | |
parent | c3844e5ff0722561045f65fff55f24ed0a581c0c (diff) | |
download | dotty-9a80b7de405a1e3c41f39383daf9b5b68c737030.tar.gz dotty-9a80b7de405a1e3c41f39383daf9b5b68c737030.tar.bz2 dotty-9a80b7de405a1e3c41f39383daf9b5b68c737030.zip |
Add specialized versions of Function SAM's
Diffstat (limited to 'src/scala/compat/java8/JFunction2$mcZDD$sp.java')
-rw-r--r-- | src/scala/compat/java8/JFunction2$mcZDD$sp.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/scala/compat/java8/JFunction2$mcZDD$sp.java b/src/scala/compat/java8/JFunction2$mcZDD$sp.java new file mode 100644 index 000000000..a921b50ec --- /dev/null +++ b/src/scala/compat/java8/JFunction2$mcZDD$sp.java @@ -0,0 +1,13 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction2$mcZDD$sp extends JFunction2 { + abstract boolean apply$mcZDD$sp(double v1, double v2); + + default Object apply(Object v1, Object v2) { return (Boolean) apply$mcZDD$sp((Double) v1, (Double) v2); } +} |