feat: update structure
This commit is contained in:
14
cs2030s/labs/Lab4/Applicable.java
Normal file
14
cs2030s/labs/Lab4/Applicable.java
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* The Applicable interface that can probably
|
||||
* transform if given something that is
|
||||
* probably an Immutator.
|
||||
* Contains a single abstract method apply.
|
||||
* CS2030S Lab 4
|
||||
* AY22/23 Semester 1
|
||||
*
|
||||
* @author Yadunand Prem (10B)
|
||||
*/
|
||||
|
||||
interface Applicable<T> {
|
||||
<R> Applicable<R> apply(Probably<? extends Immutator<? extends R, ? super T>> probablyImmutator);
|
||||
}
|
||||
Reference in New Issue
Block a user