aboutsummaryrefslogtreecommitdiff
path: root/library/src/scala/compat/java8/JFunction1.java
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/scala/compat/java8/JFunction1.java')
-rw-r--r--library/src/scala/compat/java8/JFunction1.java314
1 files changed, 314 insertions, 0 deletions
diff --git a/library/src/scala/compat/java8/JFunction1.java b/library/src/scala/compat/java8/JFunction1.java
new file mode 100644
index 000000000..69176cdea
--- /dev/null
+++ b/library/src/scala/compat/java8/JFunction1.java
@@ -0,0 +1,314 @@
+
+/*
+ * 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
+ @SuppressWarnings("unchecked")
+ default <A> scala.Function1<T1, A> andThen(scala.Function1<R, A> g) {
+ return scala.Function1$class.andThen(this, g);
+ }
+
+ @Override
+ @SuppressWarnings("unchecked")
+ default <A> scala.Function1<A, R> compose(scala.Function1<A, T1> g) {
+ return scala.Function1$class.compose(this, g);
+ }
+ @SuppressWarnings("unchecked")
+ default void apply$mcVI$sp(int v1) {
+ apply((T1) ((Integer) v1));
+ }
+ @SuppressWarnings("unchecked")
+ default boolean apply$mcZI$sp(int v1) {
+ return (Boolean) apply((T1) ((Integer) v1));
+ }
+ @SuppressWarnings("unchecked")
+ default int apply$mcII$sp(int v1) {
+ return (Integer) apply((T1) ((Integer) v1));
+ }
+ @SuppressWarnings("unchecked")
+ default float apply$mcFI$sp(int v1) {
+ return (Float) apply((T1) ((Integer) v1));
+ }
+ @SuppressWarnings("unchecked")
+ default long apply$mcJI$sp(int v1) {
+ return (Long) apply((T1) ((Integer) v1));
+ }
+ @SuppressWarnings("unchecked")
+ default double apply$mcDI$sp(int v1) {
+ return (Double) apply((T1) ((Integer) v1));
+ }
+ @SuppressWarnings("unchecked")
+ default void apply$mcVJ$sp(long v1) {
+ apply((T1) ((Long) v1));
+ }
+ @SuppressWarnings("unchecked")
+ default boolean apply$mcZJ$sp(long v1) {
+ return (Boolean) apply((T1) ((Long) v1));
+ }
+ @SuppressWarnings("unchecked")
+ default int apply$mcIJ$sp(long v1) {
+ return (Integer) apply((T1) ((Long) v1));
+ }
+ @SuppressWarnings("unchecked")
+ default float apply$mcFJ$sp(long v1) {
+ return (Float) apply((T1) ((Long) v1));
+ }
+ @SuppressWarnings("unchecked")
+ default long apply$mcJJ$sp(long v1) {
+ return (Long) apply((T1) ((Long) v1));
+ }
+ @SuppressWarnings("unchecked")
+ default double apply$mcDJ$sp(long v1) {
+ return (Double) apply((T1) ((Long) v1));
+ }
+ @SuppressWarnings("unchecked")
+ default void apply$mcVF$sp(float v1) {
+ apply((T1) ((Float) v1));
+ }
+ @SuppressWarnings("unchecked")
+ default boolean apply$mcZF$sp(float v1) {
+ return (Boolean) apply((T1) ((Float) v1));
+ }
+ @SuppressWarnings("unchecked")
+ default int apply$mcIF$sp(float v1) {
+ return (Integer) apply((T1) ((Float) v1));
+ }
+ @SuppressWarnings("unchecked")
+ default float apply$mcFF$sp(float v1) {
+ return (Float) apply((T1) ((Float) v1));
+ }
+ @SuppressWarnings("unchecked")
+ default long apply$mcJF$sp(float v1) {
+ return (Long) apply((T1) ((Float) v1));
+ }
+ @SuppressWarnings("unchecked")
+ default double apply$mcDF$sp(float v1) {
+ return (Double) apply((T1) ((Float) v1));
+ }
+ @SuppressWarnings("unchecked")
+ default void apply$mcVD$sp(double v1) {
+ apply((T1) ((Double) v1));
+ }
+ @SuppressWarnings("unchecked")
+ default boolean apply$mcZD$sp(double v1) {
+ return (Boolean) apply((T1) ((Double) v1));
+ }
+ @SuppressWarnings("unchecked")
+ default int apply$mcID$sp(double v1) {
+ return (Integer) apply((T1) ((Double) v1));
+ }
+ @SuppressWarnings("unchecked")
+ default float apply$mcFD$sp(double v1) {
+ return (Float) apply((T1) ((Double) v1));
+ }
+ @SuppressWarnings("unchecked")
+ default long apply$mcJD$sp(double v1) {
+ return (Long) apply((T1) ((Double) v1));
+ }
+ @SuppressWarnings("unchecked")
+ default double apply$mcDD$sp(double v1) {
+ return (Double) apply((T1) ((Double) v1));
+ }
+
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcVI$sp(scala.Function1 g) {
+ return compose(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcZI$sp(scala.Function1 g) {
+ return compose(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcII$sp(scala.Function1 g) {
+ return compose(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcFI$sp(scala.Function1 g) {
+ return compose(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcJI$sp(scala.Function1 g) {
+ return compose(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcDI$sp(scala.Function1 g) {
+ return compose(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcVJ$sp(scala.Function1 g) {
+ return compose(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcZJ$sp(scala.Function1 g) {
+ return compose(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcIJ$sp(scala.Function1 g) {
+ return compose(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcFJ$sp(scala.Function1 g) {
+ return compose(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcJJ$sp(scala.Function1 g) {
+ return compose(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcDJ$sp(scala.Function1 g) {
+ return compose(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcVF$sp(scala.Function1 g) {
+ return compose(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcZF$sp(scala.Function1 g) {
+ return compose(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcIF$sp(scala.Function1 g) {
+ return compose(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcFF$sp(scala.Function1 g) {
+ return compose(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcJF$sp(scala.Function1 g) {
+ return compose(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcDF$sp(scala.Function1 g) {
+ return compose(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcVD$sp(scala.Function1 g) {
+ return compose(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcZD$sp(scala.Function1 g) {
+ return compose(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcID$sp(scala.Function1 g) {
+ return compose(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcFD$sp(scala.Function1 g) {
+ return compose(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcJD$sp(scala.Function1 g) {
+ return compose(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 compose$mcDD$sp(scala.Function1 g) {
+ return compose(g);
+ }
+
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcVI$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcZI$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcII$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcFI$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcJI$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcDI$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcVJ$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcZJ$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcIJ$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcFJ$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcJJ$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcDJ$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcVF$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcZF$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcIF$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcFF$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcJF$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcDF$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcVD$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcZD$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcID$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcFD$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcJD$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+ @SuppressWarnings("unchecked")
+ default scala.Function1 andThen$mcDD$sp(scala.Function1 g) {
+ return andThen(g);
+ }
+}