copy files over
This commit is contained in:
13
Lab5/cs2030s/fp/Immutator.java
Normal file
13
Lab5/cs2030s/fp/Immutator.java
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user