blob: 5a01569ad575dc684b32b35f1aec58663ae3f2ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package jrummikub.util;
/**
* Interface for classes that can receive parameterless events having a single
* parameter
*
* @param <T>
* type of the event parameter
*/
public interface IListener1<T> {
/**
* This method is called whenever a class we're listening to emits an event
*
* @param value
* the event parameter
*/
public void handle(T value);
}
|