diff options
Diffstat (limited to 'src/scala')
23 files changed, 1250 insertions, 0 deletions
diff --git a/src/scala/compat/java8/JFunction0.java b/src/scala/compat/java8/JFunction0.java new file mode 100644 index 000000000..e9fc8ed68 --- /dev/null +++ b/src/scala/compat/java8/JFunction0.java @@ -0,0 +1,40 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction0<R> extends scala.Function0<R> { + default void $init$() { + }; + default void apply$mcV$sp() { + apply(); + } + default byte apply$mcB$sp() { + return (Byte) apply(); + } + default short apply$mcS$sp() { + return (Short) apply(); + } + default int apply$mcI$sp() { + return (Integer) apply(); + } + default long apply$mcJ$sp() { + return (Long) apply(); + } + default char apply$mcC$sp() { + return (Character) apply(); + } + default float apply$mcF$sp() { + return (Float) apply(); + } + default double apply$mcD$sp() { + return (Double) apply(); + } + default boolean apply$mcZ$sp() { + return (Boolean) apply(); + } +} + diff --git a/src/scala/compat/java8/JFunction1.java b/src/scala/compat/java8/JFunction1.java new file mode 100644 index 000000000..6e4257970 --- /dev/null +++ b/src/scala/compat/java8/JFunction1.java @@ -0,0 +1,240 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction1<T1, R> extends scala.Function1<T1, R> { + default void $init$() { + }; + + @Override + default <A> scala.Function1<T1, A> andThen(scala.Function1<R, A> g) { + return scala.Function1$class.andThen(this, g); + } + + @Override + default <A> scala.Function1<A, R> compose(scala.Function1<A, T1> g) { + return scala.Function1$class.compose(this, g); + } + default void apply$mcVI$sp(int v1) { + apply((T1) ((Integer) v1)); + } + default boolean apply$mcZI$sp(int v1) { + return (Boolean) apply((T1) ((Integer) v1)); + } + default int apply$mcII$sp(int v1) { + return (Integer) apply((T1) ((Integer) v1)); + } + default float apply$mcFI$sp(int v1) { + return (Float) apply((T1) ((Integer) v1)); + } + default long apply$mcJI$sp(int v1) { + return (Long) apply((T1) ((Integer) v1)); + } + default double apply$mcDI$sp(int v1) { + return (Double) apply((T1) ((Integer) v1)); + } + default void apply$mcVJ$sp(long v1) { + apply((T1) ((Long) v1)); + } + default boolean apply$mcZJ$sp(long v1) { + return (Boolean) apply((T1) ((Long) v1)); + } + default int apply$mcIJ$sp(long v1) { + return (Integer) apply((T1) ((Long) v1)); + } + default float apply$mcFJ$sp(long v1) { + return (Float) apply((T1) ((Long) v1)); + } + default long apply$mcJJ$sp(long v1) { + return (Long) apply((T1) ((Long) v1)); + } + default double apply$mcDJ$sp(long v1) { + return (Double) apply((T1) ((Long) v1)); + } + default void apply$mcVF$sp(float v1) { + apply((T1) ((Float) v1)); + } + default boolean apply$mcZF$sp(float v1) { + return (Boolean) apply((T1) ((Float) v1)); + } + default int apply$mcIF$sp(float v1) { + return (Integer) apply((T1) ((Float) v1)); + } + default float apply$mcFF$sp(float v1) { + return (Float) apply((T1) ((Float) v1)); + } + default long apply$mcJF$sp(float v1) { + return (Long) apply((T1) ((Float) v1)); + } + default double apply$mcDF$sp(float v1) { + return (Double) apply((T1) ((Float) v1)); + } + default void apply$mcVD$sp(double v1) { + apply((T1) ((Double) v1)); + } + default boolean apply$mcZD$sp(double v1) { + return (Boolean) apply((T1) ((Double) v1)); + } + default int apply$mcID$sp(double v1) { + return (Integer) apply((T1) ((Double) v1)); + } + default float apply$mcFD$sp(double v1) { + return (Float) apply((T1) ((Double) v1)); + } + default long apply$mcJD$sp(double v1) { + return (Long) apply((T1) ((Double) v1)); + } + default double apply$mcDD$sp(double v1) { + return (Double) apply((T1) ((Double) v1)); + } + + default scala.Function1 compose$mcVI$sp(scala.Function1 g) { + return compose(g); + } + default scala.Function1 compose$mcZI$sp(scala.Function1 g) { + return compose(g); + } + default scala.Function1 compose$mcII$sp(scala.Function1 g) { + return compose(g); + } + default scala.Function1 compose$mcFI$sp(scala.Function1 g) { + return compose(g); + } + default scala.Function1 compose$mcJI$sp(scala.Function1 g) { + return compose(g); + } + default scala.Function1 compose$mcDI$sp(scala.Function1 g) { + return compose(g); + } + default scala.Function1 compose$mcVJ$sp(scala.Function1 g) { + return compose(g); + } + default scala.Function1 compose$mcZJ$sp(scala.Function1 g) { + return compose(g); + } + default scala.Function1 compose$mcIJ$sp(scala.Function1 g) { + return compose(g); + } + default scala.Function1 compose$mcFJ$sp(scala.Function1 g) { + return compose(g); + } + default scala.Function1 compose$mcJJ$sp(scala.Function1 g) { + return compose(g); + } + default scala.Function1 compose$mcDJ$sp(scala.Function1 g) { + return compose(g); + } + default scala.Function1 compose$mcVF$sp(scala.Function1 g) { + return compose(g); + } + default scala.Function1 compose$mcZF$sp(scala.Function1 g) { + return compose(g); + } + default scala.Function1 compose$mcIF$sp(scala.Function1 g) { + return compose(g); + } + default scala.Function1 compose$mcFF$sp(scala.Function1 g) { + return compose(g); + } + default scala.Function1 compose$mcJF$sp(scala.Function1 g) { + return compose(g); + } + default scala.Function1 compose$mcDF$sp(scala.Function1 g) { + return compose(g); + } + default scala.Function1 compose$mcVD$sp(scala.Function1 g) { + return compose(g); + } + default scala.Function1 compose$mcZD$sp(scala.Function1 g) { + return compose(g); + } + default scala.Function1 compose$mcID$sp(scala.Function1 g) { + return compose(g); + } + default scala.Function1 compose$mcFD$sp(scala.Function1 g) { + return compose(g); + } + default scala.Function1 compose$mcJD$sp(scala.Function1 g) { + return compose(g); + } + default scala.Function1 compose$mcDD$sp(scala.Function1 g) { + return compose(g); + } + + default scala.Function1 andThen$mcVI$sp(scala.Function1 g) { + return andThen(g); + } + default scala.Function1 andThen$mcZI$sp(scala.Function1 g) { + return andThen(g); + } + default scala.Function1 andThen$mcII$sp(scala.Function1 g) { + return andThen(g); + } + default scala.Function1 andThen$mcFI$sp(scala.Function1 g) { + return andThen(g); + } + default scala.Function1 andThen$mcJI$sp(scala.Function1 g) { + return andThen(g); + } + default scala.Function1 andThen$mcDI$sp(scala.Function1 g) { + return andThen(g); + } + default scala.Function1 andThen$mcVJ$sp(scala.Function1 g) { + return andThen(g); + } + default scala.Function1 andThen$mcZJ$sp(scala.Function1 g) { + return andThen(g); + } + default scala.Function1 andThen$mcIJ$sp(scala.Function1 g) { + return andThen(g); + } + default scala.Function1 andThen$mcFJ$sp(scala.Function1 g) { + return andThen(g); + } + default scala.Function1 andThen$mcJJ$sp(scala.Function1 g) { + return andThen(g); + } + default scala.Function1 andThen$mcDJ$sp(scala.Function1 g) { + return andThen(g); + } + default scala.Function1 andThen$mcVF$sp(scala.Function1 g) { + return andThen(g); + } + default scala.Function1 andThen$mcZF$sp(scala.Function1 g) { + return andThen(g); + } + default scala.Function1 andThen$mcIF$sp(scala.Function1 g) { + return andThen(g); + } + default scala.Function1 andThen$mcFF$sp(scala.Function1 g) { + return andThen(g); + } + default scala.Function1 andThen$mcJF$sp(scala.Function1 g) { + return andThen(g); + } + default scala.Function1 andThen$mcDF$sp(scala.Function1 g) { + return andThen(g); + } + default scala.Function1 andThen$mcVD$sp(scala.Function1 g) { + return andThen(g); + } + default scala.Function1 andThen$mcZD$sp(scala.Function1 g) { + return andThen(g); + } + default scala.Function1 andThen$mcID$sp(scala.Function1 g) { + return andThen(g); + } + default scala.Function1 andThen$mcFD$sp(scala.Function1 g) { + return andThen(g); + } + default scala.Function1 andThen$mcJD$sp(scala.Function1 g) { + return andThen(g); + } + default scala.Function1 andThen$mcDD$sp(scala.Function1 g) { + return andThen(g); + } +} diff --git a/src/scala/compat/java8/JFunction10.java b/src/scala/compat/java8/JFunction10.java new file mode 100644 index 000000000..e1f31cef5 --- /dev/null +++ b/src/scala/compat/java8/JFunction10.java @@ -0,0 +1,23 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R> extends scala.Function10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R> { + default void $init$() { + }; + + default scala.Function1<T1, scala.Function1<T2, scala.Function1<T3, scala.Function1<T4, scala.Function1<T5, scala.Function1<T6, scala.Function1<T7, scala.Function1<T8, scala.Function1<T9, scala.Function1<T10, R>>>>>>>>>> curried() { + return scala.Function10$class.curried(this); + } + + default scala.Function1<scala.Tuple10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>, R> tupled() { + return scala.Function10$class.tupled(this); + } + + +} + diff --git a/src/scala/compat/java8/JFunction11.java b/src/scala/compat/java8/JFunction11.java new file mode 100644 index 000000000..6f85a628d --- /dev/null +++ b/src/scala/compat/java8/JFunction11.java @@ -0,0 +1,23 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R> extends scala.Function11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R> { + default void $init$() { + }; + + default scala.Function1<T1, scala.Function1<T2, scala.Function1<T3, scala.Function1<T4, scala.Function1<T5, scala.Function1<T6, scala.Function1<T7, scala.Function1<T8, scala.Function1<T9, scala.Function1<T10, scala.Function1<T11, R>>>>>>>>>>> curried() { + return scala.Function11$class.curried(this); + } + + default scala.Function1<scala.Tuple11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>, R> tupled() { + return scala.Function11$class.tupled(this); + } + + +} + diff --git a/src/scala/compat/java8/JFunction12.java b/src/scala/compat/java8/JFunction12.java new file mode 100644 index 000000000..ba5a2a5a8 --- /dev/null +++ b/src/scala/compat/java8/JFunction12.java @@ -0,0 +1,23 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R> extends scala.Function12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R> { + default void $init$() { + }; + + default scala.Function1<T1, scala.Function1<T2, scala.Function1<T3, scala.Function1<T4, scala.Function1<T5, scala.Function1<T6, scala.Function1<T7, scala.Function1<T8, scala.Function1<T9, scala.Function1<T10, scala.Function1<T11, scala.Function1<T12, R>>>>>>>>>>>> curried() { + return scala.Function12$class.curried(this); + } + + default scala.Function1<scala.Tuple12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>, R> tupled() { + return scala.Function12$class.tupled(this); + } + + +} + diff --git a/src/scala/compat/java8/JFunction13.java b/src/scala/compat/java8/JFunction13.java new file mode 100644 index 000000000..3d607d408 --- /dev/null +++ b/src/scala/compat/java8/JFunction13.java @@ -0,0 +1,23 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R> extends scala.Function13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R> { + default void $init$() { + }; + + default scala.Function1<T1, scala.Function1<T2, scala.Function1<T3, scala.Function1<T4, scala.Function1<T5, scala.Function1<T6, scala.Function1<T7, scala.Function1<T8, scala.Function1<T9, scala.Function1<T10, scala.Function1<T11, scala.Function1<T12, scala.Function1<T13, R>>>>>>>>>>>>> curried() { + return scala.Function13$class.curried(this); + } + + default scala.Function1<scala.Tuple13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>, R> tupled() { + return scala.Function13$class.tupled(this); + } + + +} + diff --git a/src/scala/compat/java8/JFunction14.java b/src/scala/compat/java8/JFunction14.java new file mode 100644 index 000000000..66f3a99cb --- /dev/null +++ b/src/scala/compat/java8/JFunction14.java @@ -0,0 +1,23 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R> extends scala.Function14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R> { + default void $init$() { + }; + + default scala.Function1<T1, scala.Function1<T2, scala.Function1<T3, scala.Function1<T4, scala.Function1<T5, scala.Function1<T6, scala.Function1<T7, scala.Function1<T8, scala.Function1<T9, scala.Function1<T10, scala.Function1<T11, scala.Function1<T12, scala.Function1<T13, scala.Function1<T14, R>>>>>>>>>>>>>> curried() { + return scala.Function14$class.curried(this); + } + + default scala.Function1<scala.Tuple14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>, R> tupled() { + return scala.Function14$class.tupled(this); + } + + +} + diff --git a/src/scala/compat/java8/JFunction15.java b/src/scala/compat/java8/JFunction15.java new file mode 100644 index 000000000..7c7a201d5 --- /dev/null +++ b/src/scala/compat/java8/JFunction15.java @@ -0,0 +1,23 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R> extends scala.Function15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R> { + default void $init$() { + }; + + default scala.Function1<T1, scala.Function1<T2, scala.Function1<T3, scala.Function1<T4, scala.Function1<T5, scala.Function1<T6, scala.Function1<T7, scala.Function1<T8, scala.Function1<T9, scala.Function1<T10, scala.Function1<T11, scala.Function1<T12, scala.Function1<T13, scala.Function1<T14, scala.Function1<T15, R>>>>>>>>>>>>>>> curried() { + return scala.Function15$class.curried(this); + } + + default scala.Function1<scala.Tuple15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>, R> tupled() { + return scala.Function15$class.tupled(this); + } + + +} + diff --git a/src/scala/compat/java8/JFunction16.java b/src/scala/compat/java8/JFunction16.java new file mode 100644 index 000000000..a99f54309 --- /dev/null +++ b/src/scala/compat/java8/JFunction16.java @@ -0,0 +1,23 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R> extends scala.Function16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R> { + default void $init$() { + }; + + default scala.Function1<T1, scala.Function1<T2, scala.Function1<T3, scala.Function1<T4, scala.Function1<T5, scala.Function1<T6, scala.Function1<T7, scala.Function1<T8, scala.Function1<T9, scala.Function1<T10, scala.Function1<T11, scala.Function1<T12, scala.Function1<T13, scala.Function1<T14, scala.Function1<T15, scala.Function1<T16, R>>>>>>>>>>>>>>>> curried() { + return scala.Function16$class.curried(this); + } + + default scala.Function1<scala.Tuple16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>, R> tupled() { + return scala.Function16$class.tupled(this); + } + + +} + diff --git a/src/scala/compat/java8/JFunction17.java b/src/scala/compat/java8/JFunction17.java new file mode 100644 index 000000000..56283545c --- /dev/null +++ b/src/scala/compat/java8/JFunction17.java @@ -0,0 +1,23 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction17<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R> extends scala.Function17<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R> { + default void $init$() { + }; + + default scala.Function1<T1, scala.Function1<T2, scala.Function1<T3, scala.Function1<T4, scala.Function1<T5, scala.Function1<T6, scala.Function1<T7, scala.Function1<T8, scala.Function1<T9, scala.Function1<T10, scala.Function1<T11, scala.Function1<T12, scala.Function1<T13, scala.Function1<T14, scala.Function1<T15, scala.Function1<T16, scala.Function1<T17, R>>>>>>>>>>>>>>>>> curried() { + return scala.Function17$class.curried(this); + } + + default scala.Function1<scala.Tuple17<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17>, R> tupled() { + return scala.Function17$class.tupled(this); + } + + +} + diff --git a/src/scala/compat/java8/JFunction18.java b/src/scala/compat/java8/JFunction18.java new file mode 100644 index 000000000..e691387b2 --- /dev/null +++ b/src/scala/compat/java8/JFunction18.java @@ -0,0 +1,23 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction18<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R> extends scala.Function18<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R> { + default void $init$() { + }; + + default scala.Function1<T1, scala.Function1<T2, scala.Function1<T3, scala.Function1<T4, scala.Function1<T5, scala.Function1<T6, scala.Function1<T7, scala.Function1<T8, scala.Function1<T9, scala.Function1<T10, scala.Function1<T11, scala.Function1<T12, scala.Function1<T13, scala.Function1<T14, scala.Function1<T15, scala.Function1<T16, scala.Function1<T17, scala.Function1<T18, R>>>>>>>>>>>>>>>>>> curried() { + return scala.Function18$class.curried(this); + } + + default scala.Function1<scala.Tuple18<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18>, R> tupled() { + return scala.Function18$class.tupled(this); + } + + +} + diff --git a/src/scala/compat/java8/JFunction19.java b/src/scala/compat/java8/JFunction19.java new file mode 100644 index 000000000..9f498c8be --- /dev/null +++ b/src/scala/compat/java8/JFunction19.java @@ -0,0 +1,23 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction19<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R> extends scala.Function19<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R> { + default void $init$() { + }; + + default scala.Function1<T1, scala.Function1<T2, scala.Function1<T3, scala.Function1<T4, scala.Function1<T5, scala.Function1<T6, scala.Function1<T7, scala.Function1<T8, scala.Function1<T9, scala.Function1<T10, scala.Function1<T11, scala.Function1<T12, scala.Function1<T13, scala.Function1<T14, scala.Function1<T15, scala.Function1<T16, scala.Function1<T17, scala.Function1<T18, scala.Function1<T19, R>>>>>>>>>>>>>>>>>>> curried() { + return scala.Function19$class.curried(this); + } + + default scala.Function1<scala.Tuple19<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>, R> tupled() { + return scala.Function19$class.tupled(this); + } + + +} + diff --git a/src/scala/compat/java8/JFunction2.java b/src/scala/compat/java8/JFunction2.java new file mode 100644 index 000000000..e2eb3ac14 --- /dev/null +++ b/src/scala/compat/java8/JFunction2.java @@ -0,0 +1,510 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction2<T1, T2, R> extends scala.Function2<T1, T2, R> { + default void $init$() { + }; + + default scala.Function1<T1, scala.Function1<T2, R>> curried() { + return scala.Function2$class.curried(this); + } + + default scala.Function1<scala.Tuple2<T1, T2>, R> tupled() { + return scala.Function2$class.tupled(this); + } + + default void apply$mcVII$sp(int v1, int v2) { + apply((T1) ((Integer) v1), (T2) ((Integer) v2)); + } + default boolean apply$mcZII$sp(int v1, int v2) { + return (Boolean) apply((T1) ((Integer) v1), (T2) ((Integer) v2)); + } + default int apply$mcIII$sp(int v1, int v2) { + return (Integer) apply((T1) ((Integer) v1), (T2) ((Integer) v2)); + } + default float apply$mcFII$sp(int v1, int v2) { + return (Float) apply((T1) ((Integer) v1), (T2) ((Integer) v2)); + } + default long apply$mcJII$sp(int v1, int v2) { + return (Long) apply((T1) ((Integer) v1), (T2) ((Integer) v2)); + } + default double apply$mcDII$sp(int v1, int v2) { + return (Double) apply((T1) ((Integer) v1), (T2) ((Integer) v2)); + } + default void apply$mcVIJ$sp(int v1, long v2) { + apply((T1) ((Integer) v1), (T2) ((Long) v2)); + } + default boolean apply$mcZIJ$sp(int v1, long v2) { + return (Boolean) apply((T1) ((Integer) v1), (T2) ((Long) v2)); + } + default int apply$mcIIJ$sp(int v1, long v2) { + return (Integer) apply((T1) ((Integer) v1), (T2) ((Long) v2)); + } + default float apply$mcFIJ$sp(int v1, long v2) { + return (Float) apply((T1) ((Integer) v1), (T2) ((Long) v2)); + } + default long apply$mcJIJ$sp(int v1, long v2) { + return (Long) apply((T1) ((Integer) v1), (T2) ((Long) v2)); + } + default double apply$mcDIJ$sp(int v1, long v2) { + return (Double) apply((T1) ((Integer) v1), (T2) ((Long) v2)); + } + default void apply$mcVID$sp(int v1, double v2) { + apply((T1) ((Integer) v1), (T2) ((Double) v2)); + } + default boolean apply$mcZID$sp(int v1, double v2) { + return (Boolean) apply((T1) ((Integer) v1), (T2) ((Double) v2)); + } + default int apply$mcIID$sp(int v1, double v2) { + return (Integer) apply((T1) ((Integer) v1), (T2) ((Double) v2)); + } + default float apply$mcFID$sp(int v1, double v2) { + return (Float) apply((T1) ((Integer) v1), (T2) ((Double) v2)); + } + default long apply$mcJID$sp(int v1, double v2) { + return (Long) apply((T1) ((Integer) v1), (T2) ((Double) v2)); + } + default double apply$mcDID$sp(int v1, double v2) { + return (Double) apply((T1) ((Integer) v1), (T2) ((Double) v2)); + } + default void apply$mcVJI$sp(long v1, int v2) { + apply((T1) ((Long) v1), (T2) ((Integer) v2)); + } + default boolean apply$mcZJI$sp(long v1, int v2) { + return (Boolean) apply((T1) ((Long) v1), (T2) ((Integer) v2)); + } + default int apply$mcIJI$sp(long v1, int v2) { + return (Integer) apply((T1) ((Long) v1), (T2) ((Integer) v2)); + } + default float apply$mcFJI$sp(long v1, int v2) { + return (Float) apply((T1) ((Long) v1), (T2) ((Integer) v2)); + } + default long apply$mcJJI$sp(long v1, int v2) { + return (Long) apply((T1) ((Long) v1), (T2) ((Integer) v2)); + } + default double apply$mcDJI$sp(long v1, int v2) { + return (Double) apply((T1) ((Long) v1), (T2) ((Integer) v2)); + } + default void apply$mcVJJ$sp(long v1, long v2) { + apply((T1) ((Long) v1), (T2) ((Long) v2)); + } + default boolean apply$mcZJJ$sp(long v1, long v2) { + return (Boolean) apply((T1) ((Long) v1), (T2) ((Long) v2)); + } + default int apply$mcIJJ$sp(long v1, long v2) { + return (Integer) apply((T1) ((Long) v1), (T2) ((Long) v2)); + } + default float apply$mcFJJ$sp(long v1, long v2) { + return (Float) apply((T1) ((Long) v1), (T2) ((Long) v2)); + } + default long apply$mcJJJ$sp(long v1, long v2) { + return (Long) apply((T1) ((Long) v1), (T2) ((Long) v2)); + } + default double apply$mcDJJ$sp(long v1, long v2) { + return (Double) apply((T1) ((Long) v1), (T2) ((Long) v2)); + } + default void apply$mcVJD$sp(long v1, double v2) { + apply((T1) ((Long) v1), (T2) ((Double) v2)); + } + default boolean apply$mcZJD$sp(long v1, double v2) { + return (Boolean) apply((T1) ((Long) v1), (T2) ((Double) v2)); + } + default int apply$mcIJD$sp(long v1, double v2) { + return (Integer) apply((T1) ((Long) v1), (T2) ((Double) v2)); + } + default float apply$mcFJD$sp(long v1, double v2) { + return (Float) apply((T1) ((Long) v1), (T2) ((Double) v2)); + } + default long apply$mcJJD$sp(long v1, double v2) { + return (Long) apply((T1) ((Long) v1), (T2) ((Double) v2)); + } + default double apply$mcDJD$sp(long v1, double v2) { + return (Double) apply((T1) ((Long) v1), (T2) ((Double) v2)); + } + default void apply$mcVDI$sp(double v1, int v2) { + apply((T1) ((Double) v1), (T2) ((Integer) v2)); + } + default boolean apply$mcZDI$sp(double v1, int v2) { + return (Boolean) apply((T1) ((Double) v1), (T2) ((Integer) v2)); + } + default int apply$mcIDI$sp(double v1, int v2) { + return (Integer) apply((T1) ((Double) v1), (T2) ((Integer) v2)); + } + default float apply$mcFDI$sp(double v1, int v2) { + return (Float) apply((T1) ((Double) v1), (T2) ((Integer) v2)); + } + default long apply$mcJDI$sp(double v1, int v2) { + return (Long) apply((T1) ((Double) v1), (T2) ((Integer) v2)); + } + default double apply$mcDDI$sp(double v1, int v2) { + return (Double) apply((T1) ((Double) v1), (T2) ((Integer) v2)); + } + default void apply$mcVDJ$sp(double v1, long v2) { + apply((T1) ((Double) v1), (T2) ((Long) v2)); + } + default boolean apply$mcZDJ$sp(double v1, long v2) { + return (Boolean) apply((T1) ((Double) v1), (T2) ((Long) v2)); + } + default int apply$mcIDJ$sp(double v1, long v2) { + return (Integer) apply((T1) ((Double) v1), (T2) ((Long) v2)); + } + default float apply$mcFDJ$sp(double v1, long v2) { + return (Float) apply((T1) ((Double) v1), (T2) ((Long) v2)); + } + default long apply$mcJDJ$sp(double v1, long v2) { + return (Long) apply((T1) ((Double) v1), (T2) ((Long) v2)); + } + default double apply$mcDDJ$sp(double v1, long v2) { + return (Double) apply((T1) ((Double) v1), (T2) ((Long) v2)); + } + default void apply$mcVDD$sp(double v1, double v2) { + apply((T1) ((Double) v1), (T2) ((Double) v2)); + } + default boolean apply$mcZDD$sp(double v1, double v2) { + return (Boolean) apply((T1) ((Double) v1), (T2) ((Double) v2)); + } + default int apply$mcIDD$sp(double v1, double v2) { + return (Integer) apply((T1) ((Double) v1), (T2) ((Double) v2)); + } + default float apply$mcFDD$sp(double v1, double v2) { + return (Float) apply((T1) ((Double) v1), (T2) ((Double) v2)); + } + default long apply$mcJDD$sp(double v1, double v2) { + return (Long) apply((T1) ((Double) v1), (T2) ((Double) v2)); + } + default double apply$mcDDD$sp(double v1, double v2) { + return (Double) apply((T1) ((Double) v1), (T2) ((Double) v2)); + } + + default scala.Function1 curried$mcVII$sp() { + return curried(); + } + default scala.Function1 curried$mcZII$sp() { + return curried(); + } + default scala.Function1 curried$mcIII$sp() { + return curried(); + } + default scala.Function1 curried$mcFII$sp() { + return curried(); + } + default scala.Function1 curried$mcJII$sp() { + return curried(); + } + default scala.Function1 curried$mcDII$sp() { + return curried(); + } + default scala.Function1 curried$mcVIJ$sp() { + return curried(); + } + default scala.Function1 curried$mcZIJ$sp() { + return curried(); + } + default scala.Function1 curried$mcIIJ$sp() { + return curried(); + } + default scala.Function1 curried$mcFIJ$sp() { + return curried(); + } + default scala.Function1 curried$mcJIJ$sp() { + return curried(); + } + default scala.Function1 curried$mcDIJ$sp() { + return curried(); + } + default scala.Function1 curried$mcVID$sp() { + return curried(); + } + default scala.Function1 curried$mcZID$sp() { + return curried(); + } + default scala.Function1 curried$mcIID$sp() { + return curried(); + } + default scala.Function1 curried$mcFID$sp() { + return curried(); + } + default scala.Function1 curried$mcJID$sp() { + return curried(); + } + default scala.Function1 curried$mcDID$sp() { + return curried(); + } + default scala.Function1 curried$mcVJI$sp() { + return curried(); + } + default scala.Function1 curried$mcZJI$sp() { + return curried(); + } + default scala.Function1 curried$mcIJI$sp() { + return curried(); + } + default scala.Function1 curried$mcFJI$sp() { + return curried(); + } + default scala.Function1 curried$mcJJI$sp() { + return curried(); + } + default scala.Function1 curried$mcDJI$sp() { + return curried(); + } + default scala.Function1 curried$mcVJJ$sp() { + return curried(); + } + default scala.Function1 curried$mcZJJ$sp() { + return curried(); + } + default scala.Function1 curried$mcIJJ$sp() { + return curried(); + } + default scala.Function1 curried$mcFJJ$sp() { + return curried(); + } + default scala.Function1 curried$mcJJJ$sp() { + return curried(); + } + default scala.Function1 curried$mcDJJ$sp() { + return curried(); + } + default scala.Function1 curried$mcVJD$sp() { + return curried(); + } + default scala.Function1 curried$mcZJD$sp() { + return curried(); + } + default scala.Function1 curried$mcIJD$sp() { + return curried(); + } + default scala.Function1 curried$mcFJD$sp() { + return curried(); + } + default scala.Function1 curried$mcJJD$sp() { + return curried(); + } + default scala.Function1 curried$mcDJD$sp() { + return curried(); + } + default scala.Function1 curried$mcVDI$sp() { + return curried(); + } + default scala.Function1 curried$mcZDI$sp() { + return curried(); + } + default scala.Function1 curried$mcIDI$sp() { + return curried(); + } + default scala.Function1 curried$mcFDI$sp() { + return curried(); + } + default scala.Function1 curried$mcJDI$sp() { + return curried(); + } + default scala.Function1 curried$mcDDI$sp() { + return curried(); + } + default scala.Function1 curried$mcVDJ$sp() { + return curried(); + } + default scala.Function1 curried$mcZDJ$sp() { + return curried(); + } + default scala.Function1 curried$mcIDJ$sp() { + return curried(); + } + default scala.Function1 curried$mcFDJ$sp() { + return curried(); + } + default scala.Function1 curried$mcJDJ$sp() { + return curried(); + } + default scala.Function1 curried$mcDDJ$sp() { + return curried(); + } + default scala.Function1 curried$mcVDD$sp() { + return curried(); + } + default scala.Function1 curried$mcZDD$sp() { + return curried(); + } + default scala.Function1 curried$mcIDD$sp() { + return curried(); + } + default scala.Function1 curried$mcFDD$sp() { + return curried(); + } + default scala.Function1 curried$mcJDD$sp() { + return curried(); + } + default scala.Function1 curried$mcDDD$sp() { + return curried(); + } + + default scala.Function1 tupled$mcVII$sp() { + return tupled(); + } + default scala.Function1 tupled$mcZII$sp() { + return tupled(); + } + default scala.Function1 tupled$mcIII$sp() { + return tupled(); + } + default scala.Function1 tupled$mcFII$sp() { + return tupled(); + } + default scala.Function1 tupled$mcJII$sp() { + return tupled(); + } + default scala.Function1 tupled$mcDII$sp() { + return tupled(); + } + default scala.Function1 tupled$mcVIJ$sp() { + return tupled(); + } + default scala.Function1 tupled$mcZIJ$sp() { + return tupled(); + } + default scala.Function1 tupled$mcIIJ$sp() { + return tupled(); + } + default scala.Function1 tupled$mcFIJ$sp() { + return tupled(); + } + default scala.Function1 tupled$mcJIJ$sp() { + return tupled(); + } + default scala.Function1 tupled$mcDIJ$sp() { + return tupled(); + } + default scala.Function1 tupled$mcVID$sp() { + return tupled(); + } + default scala.Function1 tupled$mcZID$sp() { + return tupled(); + } + default scala.Function1 tupled$mcIID$sp() { + return tupled(); + } + default scala.Function1 tupled$mcFID$sp() { + return tupled(); + } + default scala.Function1 tupled$mcJID$sp() { + return tupled(); + } + default scala.Function1 tupled$mcDID$sp() { + return tupled(); + } + default scala.Function1 tupled$mcVJI$sp() { + return tupled(); + } + default scala.Function1 tupled$mcZJI$sp() { + return tupled(); + } + default scala.Function1 tupled$mcIJI$sp() { + return tupled(); + } + default scala.Function1 tupled$mcFJI$sp() { + return tupled(); + } + default scala.Function1 tupled$mcJJI$sp() { + return tupled(); + } + default scala.Function1 tupled$mcDJI$sp() { + return tupled(); + } + default scala.Function1 tupled$mcVJJ$sp() { + return tupled(); + } + default scala.Function1 tupled$mcZJJ$sp() { + return tupled(); + } + default scala.Function1 tupled$mcIJJ$sp() { + return tupled(); + } + default scala.Function1 tupled$mcFJJ$sp() { + return tupled(); + } + default scala.Function1 tupled$mcJJJ$sp() { + return tupled(); + } + default scala.Function1 tupled$mcDJJ$sp() { + return tupled(); + } + default scala.Function1 tupled$mcVJD$sp() { + return tupled(); + } + default scala.Function1 tupled$mcZJD$sp() { + return tupled(); + } + default scala.Function1 tupled$mcIJD$sp() { + return tupled(); + } + default scala.Function1 tupled$mcFJD$sp() { + return tupled(); + } + default scala.Function1 tupled$mcJJD$sp() { + return tupled(); + } + default scala.Function1 tupled$mcDJD$sp() { + return tupled(); + } + default scala.Function1 tupled$mcVDI$sp() { + return tupled(); + } + default scala.Function1 tupled$mcZDI$sp() { + return tupled(); + } + default scala.Function1 tupled$mcIDI$sp() { + return tupled(); + } + default scala.Function1 tupled$mcFDI$sp() { + return tupled(); + } + default scala.Function1 tupled$mcJDI$sp() { + return tupled(); + } + default scala.Function1 tupled$mcDDI$sp() { + return tupled(); + } + default scala.Function1 tupled$mcVDJ$sp() { + return tupled(); + } + default scala.Function1 tupled$mcZDJ$sp() { + return tupled(); + } + default scala.Function1 tupled$mcIDJ$sp() { + return tupled(); + } + default scala.Function1 tupled$mcFDJ$sp() { + return tupled(); + } + default scala.Function1 tupled$mcJDJ$sp() { + return tupled(); + } + default scala.Function1 tupled$mcDDJ$sp() { + return tupled(); + } + default scala.Function1 tupled$mcVDD$sp() { + return tupled(); + } + default scala.Function1 tupled$mcZDD$sp() { + return tupled(); + } + default scala.Function1 tupled$mcIDD$sp() { + return tupled(); + } + default scala.Function1 tupled$mcFDD$sp() { + return tupled(); + } + default scala.Function1 tupled$mcJDD$sp() { + return tupled(); + } + default scala.Function1 tupled$mcDDD$sp() { + return tupled(); + } +} + diff --git a/src/scala/compat/java8/JFunction20.java b/src/scala/compat/java8/JFunction20.java new file mode 100644 index 000000000..1d3aa41c2 --- /dev/null +++ b/src/scala/compat/java8/JFunction20.java @@ -0,0 +1,23 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction20<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R> extends scala.Function20<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R> { + default void $init$() { + }; + + default scala.Function1<T1, scala.Function1<T2, scala.Function1<T3, scala.Function1<T4, scala.Function1<T5, scala.Function1<T6, scala.Function1<T7, scala.Function1<T8, scala.Function1<T9, scala.Function1<T10, scala.Function1<T11, scala.Function1<T12, scala.Function1<T13, scala.Function1<T14, scala.Function1<T15, scala.Function1<T16, scala.Function1<T17, scala.Function1<T18, scala.Function1<T19, scala.Function1<T20, R>>>>>>>>>>>>>>>>>>>> curried() { + return scala.Function20$class.curried(this); + } + + default scala.Function1<scala.Tuple20<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20>, R> tupled() { + return scala.Function20$class.tupled(this); + } + + +} + diff --git a/src/scala/compat/java8/JFunction21.java b/src/scala/compat/java8/JFunction21.java new file mode 100644 index 000000000..33528e001 --- /dev/null +++ b/src/scala/compat/java8/JFunction21.java @@ -0,0 +1,23 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction21<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R> extends scala.Function21<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R> { + default void $init$() { + }; + + default scala.Function1<T1, scala.Function1<T2, scala.Function1<T3, scala.Function1<T4, scala.Function1<T5, scala.Function1<T6, scala.Function1<T7, scala.Function1<T8, scala.Function1<T9, scala.Function1<T10, scala.Function1<T11, scala.Function1<T12, scala.Function1<T13, scala.Function1<T14, scala.Function1<T15, scala.Function1<T16, scala.Function1<T17, scala.Function1<T18, scala.Function1<T19, scala.Function1<T20, scala.Function1<T21, R>>>>>>>>>>>>>>>>>>>>> curried() { + return scala.Function21$class.curried(this); + } + + default scala.Function1<scala.Tuple21<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21>, R> tupled() { + return scala.Function21$class.tupled(this); + } + + +} + diff --git a/src/scala/compat/java8/JFunction22.java b/src/scala/compat/java8/JFunction22.java new file mode 100644 index 000000000..05fbd07a2 --- /dev/null +++ b/src/scala/compat/java8/JFunction22.java @@ -0,0 +1,23 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction22<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R> extends scala.Function22<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R> { + default void $init$() { + }; + + default scala.Function1<T1, scala.Function1<T2, scala.Function1<T3, scala.Function1<T4, scala.Function1<T5, scala.Function1<T6, scala.Function1<T7, scala.Function1<T8, scala.Function1<T9, scala.Function1<T10, scala.Function1<T11, scala.Function1<T12, scala.Function1<T13, scala.Function1<T14, scala.Function1<T15, scala.Function1<T16, scala.Function1<T17, scala.Function1<T18, scala.Function1<T19, scala.Function1<T20, scala.Function1<T21, scala.Function1<T22, R>>>>>>>>>>>>>>>>>>>>>> curried() { + return scala.Function22$class.curried(this); + } + + default scala.Function1<scala.Tuple22<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22>, R> tupled() { + return scala.Function22$class.tupled(this); + } + + +} + diff --git a/src/scala/compat/java8/JFunction3.java b/src/scala/compat/java8/JFunction3.java new file mode 100644 index 000000000..213f9784b --- /dev/null +++ b/src/scala/compat/java8/JFunction3.java @@ -0,0 +1,23 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction3<T1, T2, T3, R> extends scala.Function3<T1, T2, T3, R> { + default void $init$() { + }; + + default scala.Function1<T1, scala.Function1<T2, scala.Function1<T3, R>>> curried() { + return scala.Function3$class.curried(this); + } + + default scala.Function1<scala.Tuple3<T1, T2, T3>, R> tupled() { + return scala.Function3$class.tupled(this); + } + + +} + 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); + } + + +} + diff --git a/src/scala/compat/java8/JFunction5.java b/src/scala/compat/java8/JFunction5.java new file mode 100644 index 000000000..0c56abda3 --- /dev/null +++ b/src/scala/compat/java8/JFunction5.java @@ -0,0 +1,23 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction5<T1, T2, T3, T4, T5, R> extends scala.Function5<T1, T2, T3, T4, T5, R> { + default void $init$() { + }; + + default scala.Function1<T1, scala.Function1<T2, scala.Function1<T3, scala.Function1<T4, scala.Function1<T5, R>>>>> curried() { + return scala.Function5$class.curried(this); + } + + default scala.Function1<scala.Tuple5<T1, T2, T3, T4, T5>, R> tupled() { + return scala.Function5$class.tupled(this); + } + + +} + diff --git a/src/scala/compat/java8/JFunction6.java b/src/scala/compat/java8/JFunction6.java new file mode 100644 index 000000000..49ca2669d --- /dev/null +++ b/src/scala/compat/java8/JFunction6.java @@ -0,0 +1,23 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction6<T1, T2, T3, T4, T5, T6, R> extends scala.Function6<T1, T2, T3, T4, T5, T6, R> { + default void $init$() { + }; + + default scala.Function1<T1, scala.Function1<T2, scala.Function1<T3, scala.Function1<T4, scala.Function1<T5, scala.Function1<T6, R>>>>>> curried() { + return scala.Function6$class.curried(this); + } + + default scala.Function1<scala.Tuple6<T1, T2, T3, T4, T5, T6>, R> tupled() { + return scala.Function6$class.tupled(this); + } + + +} + diff --git a/src/scala/compat/java8/JFunction7.java b/src/scala/compat/java8/JFunction7.java new file mode 100644 index 000000000..9ce0bcfa1 --- /dev/null +++ b/src/scala/compat/java8/JFunction7.java @@ -0,0 +1,23 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction7<T1, T2, T3, T4, T5, T6, T7, R> extends scala.Function7<T1, T2, T3, T4, T5, T6, T7, R> { + default void $init$() { + }; + + default scala.Function1<T1, scala.Function1<T2, scala.Function1<T3, scala.Function1<T4, scala.Function1<T5, scala.Function1<T6, scala.Function1<T7, R>>>>>>> curried() { + return scala.Function7$class.curried(this); + } + + default scala.Function1<scala.Tuple7<T1, T2, T3, T4, T5, T6, T7>, R> tupled() { + return scala.Function7$class.tupled(this); + } + + +} + diff --git a/src/scala/compat/java8/JFunction8.java b/src/scala/compat/java8/JFunction8.java new file mode 100644 index 000000000..dfeb83193 --- /dev/null +++ b/src/scala/compat/java8/JFunction8.java @@ -0,0 +1,23 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction8<T1, T2, T3, T4, T5, T6, T7, T8, R> extends scala.Function8<T1, T2, T3, T4, T5, T6, T7, T8, R> { + default void $init$() { + }; + + default scala.Function1<T1, scala.Function1<T2, scala.Function1<T3, scala.Function1<T4, scala.Function1<T5, scala.Function1<T6, scala.Function1<T7, scala.Function1<T8, R>>>>>>>> curried() { + return scala.Function8$class.curried(this); + } + + default scala.Function1<scala.Tuple8<T1, T2, T3, T4, T5, T6, T7, T8>, R> tupled() { + return scala.Function8$class.tupled(this); + } + + +} + diff --git a/src/scala/compat/java8/JFunction9.java b/src/scala/compat/java8/JFunction9.java new file mode 100644 index 000000000..5dfa5cb12 --- /dev/null +++ b/src/scala/compat/java8/JFunction9.java @@ -0,0 +1,23 @@ + +/* + * Copyright (C) 2012-2014 Typesafe Inc. <http://www.typesafe.com> + */ + +package scala.compat.java8; + +@FunctionalInterface +public interface JFunction9<T1, T2, T3, T4, T5, T6, T7, T8, T9, R> extends scala.Function9<T1, T2, T3, T4, T5, T6, T7, T8, T9, R> { + default void $init$() { + }; + + default scala.Function1<T1, scala.Function1<T2, scala.Function1<T3, scala.Function1<T4, scala.Function1<T5, scala.Function1<T6, scala.Function1<T7, scala.Function1<T8, scala.Function1<T9, R>>>>>>>>> curried() { + return scala.Function9$class.curried(this); + } + + default scala.Function1<scala.Tuple9<T1, T2, T3, T4, T5, T6, T7, T8, T9>, R> tupled() { + return scala.Function9$class.tupled(this); + } + + +} + |