diff options
Diffstat (limited to 'src/scala/compat/java8/JFunction4.java')
-rw-r--r-- | src/scala/compat/java8/JFunction4.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/scala/compat/java8/JFunction4.java b/src/scala/compat/java8/JFunction4.java new file mode 100644 index 000000000..4df995245 --- /dev/null +++ b/src/scala/compat/java8/JFunction4.java @@ -0,0 +1,23 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction4<T1, T2, T3, T4, R> extends scala.Function4<T1, T2, T3, T4, R> { + default void $init$() { + }; + + default scala.Function1<T1, scala.Function1<T2, scala.Function1<T3, scala.Function1<T4, R>>>> curried() { + return scala.Function4$class.curried(this); + } + + default scala.Function1<scala.Tuple4<T1, T2, T3, T4>, R> tupled() { + return scala.Function4$class.tupled(this); + } + + +} + |