commit 28/07/2025

This commit is contained in:
2025-07-28 13:55:58 +07:00
parent 9b1851aaa7
commit 901d553da9
4 changed files with 180 additions and 1 deletions

14
src/codes/QuadConsumer.kt Normal file
View File

@@ -0,0 +1,14 @@
package codes
@Suppress("unused")
interface QuadConsumer<A,B,C,D> {
/**
* Performs this operation on the given arguments.
*
* @param a the first input argument
* @param b the second input argument
* @param c the third input argument
* @param d the fourth input argument
*/
fun accept(a: A, b: B, c: C, d: D)
}

13
src/codes/TriConsumer.kt Normal file
View File

@@ -0,0 +1,13 @@
package codes
@Suppress("unused")
interface TriConsumer<A,B,C> {
/**
* Performs this operation on the given arguments.
*
* @param a the first input argument
* @param b the second input argument
* @param c the third input argument
*/
fun accept(a: A, b: B, c: C)
}