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