summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/util/IListener1.java
blob: c5e725339012afce35d5042d0d42a2ffe325eb1d (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 fire(T value);
}