Переглянути джерело

Moving functional interface definitions to submodule

Sam Jaffe 8 роки тому
батько
коміт
bb369c1f28

+ 3 - 0
.gitmodules

@@ -10,3 +10,6 @@
 [submodule "include/format"]
 	path = include/format
 	url = http://209.6.89.209:3000/samjaffe/java-util-format.git
+[submodule "include/function"]
+	path = include/function
+	url = http://209.6.89.209:3000/samjaffe/java-util-function.git

+ 1 - 0
include/function

@@ -0,0 +1 @@
+Subproject commit 58275d1940a2f46f951f5623ebbfac5cff3255fb

+ 1 - 0
include/pom.xml

@@ -19,6 +19,7 @@
     <module>graphics</module>
     <module>observer</module>
     <module>format</module>
+    <module>function</module>
     <module>..</module>
   </modules>
 </project>

+ 5 - 0
pom.xml

@@ -178,6 +178,11 @@
       <artifactId>format</artifactId>
       <version>0.1</version>
     </dependency>
+    <dependency>
+      <groupId>org.leumasjaffe</groupId>
+      <artifactId>function</artifactId>
+      <version>0.1</version>
+    </dependency>
   </dependencies>
   <parent>
     <groupId>org.leumasjaffe</groupId>

+ 0 - 6
src/main/lombok/org/leumasjaffe/function/QuadFunction.java

@@ -1,6 +0,0 @@
-package org.leumasjaffe.function;
-
-@FunctionalInterface
-public interface QuadFunction<A, B, C, D, R> {
-	R apply(A arg0, B arg1, C arg2, D arg3);
-}

+ 0 - 6
src/main/lombok/org/leumasjaffe/function/TriFunction.java

@@ -1,6 +0,0 @@
-package org.leumasjaffe.function;
-
-@FunctionalInterface
-public interface TriFunction<A, B, C, R> {
-	R apply(A arg0, B arg1, C arg2);
-}

+ 0 - 6
src/main/lombok/org/leumasjaffe/function/VoidVoidFunction.java

@@ -1,6 +0,0 @@
-package org.leumasjaffe.function;
-
-@FunctionalInterface
-public interface VoidVoidFunction {
-	void apply();
-}