summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/util/IListener3.java
blob: 0b6b8c920f391f935249257a5f4bfd10123d1912 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package jrummikub.util;

/**
 * Interface for classes that can receive parameterless events having a two
 * parameters
 * 
 * @param <T1>
 *            type of the first event parameter
 * @param <T2>
 *            type of the second event parameter
 * @param <T3>
 *            type of third event parameter
 */
public interface IListener3<T1, T2, T3> {
	/**
	 * This method is called whenever a class we're listening to emits an event
	 * 
	 * @param value1
	 *            the first event parameter
	 * @param value2
	 *            the second event parameter
	 * @param value3
	 *            the third event parameter
	 */
	public void handle(T1 value1, T2 value2, T3 value3);
}