blob: 9534e7abcc4de0563d993cc191a69fa4402e3930 (
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);
}
|