nus/Lab4/Applicable.java
Yadunand Prem d8e797ae3a fix issues
2022-11-08 18:03:39 +08:00

15 lines
381 B
Java

/**
* 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);
}