nus/Lab5/cs2030s/fp/Action.java
Yadunand Prem 132080d451 run linter
2022-11-08 18:03:40 +08:00

15 lines
272 B
Java

package cs2030s.fp;
/**
* The Action interface that can be called
* on an object of type T to act.
* Contains a single abstract method call.
* CS2030S Lab 4
* AY22/23 Semester 1
* @author Yadunand Prem (10B)
*/
public interface Action<T> {
void call(T item);
}