-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d0b6e11
commit 871949b
Showing
8 changed files
with
68 additions
and
159 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
src/main/java/net/zepalesque/zenith/util/lambda/Consumers.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package net.zepalesque.zenith.util.lambda; | ||
|
||
public class Consumers { | ||
|
||
public static interface C3<T1, T2, T3> { | ||
|
||
void accept(T1 t1, T2 t2, T3 t3); | ||
} | ||
|
||
public static interface C4<T1, T2, T3, T4> { | ||
|
||
void accept(T1 t1, T2 t2, T3 t3, T4 t4); | ||
} | ||
|
||
public static interface C5<T1, T2, T3, T4, T5> { | ||
|
||
void accept(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5); | ||
} | ||
|
||
public static interface C6<T1, T2, T3, T4, T5, T6> { | ||
|
||
void accept(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6); | ||
} | ||
|
||
public static interface C7<T1, T2, T3, T4, T5, T6, T7> { | ||
|
||
void accept(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7); | ||
} | ||
|
||
public static interface C8<T1, T2, T3, T4, T5, T6, T7, T8> { | ||
|
||
void accept(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7, T8 t8); | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
src/main/java/net/zepalesque/zenith/util/lambda/Functions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package net.zepalesque.zenith.util.lambda; | ||
|
||
public class Functions { | ||
|
||
public static interface F3<T1, T2, T3, R> { | ||
|
||
R accept(T1 t1, T2 t2, T3 t3); | ||
} | ||
|
||
public static interface F4<T1, T2, T3, T4, R> { | ||
|
||
R accept(T1 t1, T2 t2, T3 t3, T4 t4); | ||
} | ||
|
||
public static interface F5<T1, T2, T3, T4, T5, R> { | ||
|
||
R accept(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5); | ||
} | ||
|
||
public static interface F6<T1, T2, T3, T4, T5, T6, R> { | ||
|
||
R accept(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6); | ||
} | ||
|
||
public static interface F7<T1, T2, T3, T4, T5, T6, T7, R> { | ||
|
||
R accept(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7); | ||
} | ||
|
||
public static interface F8<T1, T2, T3, T4, T5, T6, T7, T8, R> { | ||
|
||
R accept(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7, T8 t8); | ||
} | ||
} |
26 changes: 0 additions & 26 deletions
26
src/main/java/net/zepalesque/zenith/util/lambda/consumer/HexConsumer.java
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
src/main/java/net/zepalesque/zenith/util/lambda/consumer/QuadConsumer.java
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
src/main/java/net/zepalesque/zenith/util/lambda/consumer/SeptConsumer.java
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
src/main/java/net/zepalesque/zenith/util/lambda/function/HexFunction.java
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
src/main/java/net/zepalesque/zenith/util/lambda/function/OctoFunction.java
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
src/main/java/net/zepalesque/zenith/util/lambda/function/QuadFunction.java
This file was deleted.
Oops, something went wrong.