nus/cs2030s/labs/Lab4/Applicable.java

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