commit 28/07/2025
This commit is contained in:
14
src/codes/QuadConsumer.kt
Normal file
14
src/codes/QuadConsumer.kt
Normal 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
13
src/codes/TriConsumer.kt
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user