copy files over

This commit is contained in:
Yadunand Prem
2022-09-30 13:36:06 +08:00
parent e3a2b6a3b8
commit 672d87b00e
4 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
package cs2030s.fp;
/**
* The Immutator interface that can transform
* to type T2, an object of type T1.
* Contains a single abstract method invoke.
* CS2030S Lab 4
* AY22/23 Semester 1
* @author Yadunand Prem (10B)
*/
public interface Immutator<R, P> {
public R invoke(P param);
}