diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-12-22 00:31:00 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-12-22 00:32:28 +0100 |
commit | c8c863ce36f57954369a0b4a15e6c5e720f03f87 (patch) | |
tree | 2e49e11db5be949571642ceca947bb7b2178c777 /src/main/java/io/trygvis/esper/testing/sql/SqlF.java | |
parent | 012b0864e95e120ea57433ab0e719cc6011c7647 (diff) | |
download | esper-testing-c8c863ce36f57954369a0b4a15e6c5e720f03f87.tar.gz esper-testing-c8c863ce36f57954369a0b4a15e6c5e720f03f87.tar.bz2 esper-testing-c8c863ce36f57954369a0b4a15e6c5e720f03f87.tar.xz esper-testing-c8c863ce36f57954369a0b4a15e6c5e720f03f87.zip |
o Moving stuff to utils package.
Diffstat (limited to 'src/main/java/io/trygvis/esper/testing/sql/SqlF.java')
-rw-r--r-- | src/main/java/io/trygvis/esper/testing/sql/SqlF.java | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/main/java/io/trygvis/esper/testing/sql/SqlF.java b/src/main/java/io/trygvis/esper/testing/sql/SqlF.java deleted file mode 100644 index fb05e4c..0000000 --- a/src/main/java/io/trygvis/esper/testing/sql/SqlF.java +++ /dev/null @@ -1,15 +0,0 @@ -package io.trygvis.esper.testing.sql; - -import java.sql.*; - -public abstract class SqlF<A, B> { - public abstract B apply(A a) throws SQLException; - - public <C> SqlF<A, C> andThen(final SqlF<B, C> f) { - return new SqlF<A, C>() { - public C apply(A a) throws SQLException { - return f.apply(SqlF.this.apply(a)); - } - }; - } -} |