Repository: wicket
Updated Branches:
  refs/heads/master 69f2d0ad9 -> f2f0ba067


Add serializable BiFunction


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/fbb00607
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/fbb00607
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/fbb00607

Branch: refs/heads/master
Commit: fbb0060754b0450d1b9a011b70c0a494ae745e0d
Parents: 69f2d0a
Author: Martin Tzvetanov Grigorov <mgrigo...@apache.org>
Authored: Sun Apr 24 13:07:45 2016 +0200
Committer: Martin Tzvetanov Grigorov <mgrigo...@apache.org>
Committed: Sun Apr 24 13:07:45 2016 +0200

----------------------------------------------------------------------
 .../apache/wicket/lambda/WicketBiFunction.java  | 36 ++++++++++++++++++++
 1 file changed, 36 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/fbb00607/wicket-core/src/main/java/org/apache/wicket/lambda/WicketBiFunction.java
----------------------------------------------------------------------
diff --git 
a/wicket-core/src/main/java/org/apache/wicket/lambda/WicketBiFunction.java 
b/wicket-core/src/main/java/org/apache/wicket/lambda/WicketBiFunction.java
new file mode 100644
index 0000000..f5f66a6
--- /dev/null
+++ b/wicket-core/src/main/java/org/apache/wicket/lambda/WicketBiFunction.java
@@ -0,0 +1,36 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.wicket.lambda;
+
+import java.io.Serializable;
+import java.util.function.BiFunction;
+
+import org.apache.wicket.util.io.IClusterable;
+
+/**
+ * A {@link Serializable} {@link BiFunction}.
+ *
+ * @param <T>
+ *            - the type of the first input to the function
+ * @param <U>
+ *            - the type of the second input to the function
+ * @param <R>
+ *            - the type of the result of the function
+ */
+public interface WicketBiFunction<T, U, R> extends BiFunction<T, U, R>, 
IClusterable
+{
+}

Reply via email to