Update CallbackListener.java

@FunctionalInterface
This commit is contained in:
GoToLoop 2016-07-11 04:51:10 -03:00 committed by GitHub
parent f0adb9e37a
commit 423f3f0dff

View File

@ -34,7 +34,7 @@ package controlP5;
* @example use/ControlP5callback * @example use/ControlP5callback
* @see controlP5.ControlP5#addCallback(CallbackListener) * @see controlP5.ControlP5#addCallback(CallbackListener)
*/ */
public interface CallbackListener { @FunctionalInterface public interface CallbackListener {
public void controlEvent( CallbackEvent theEvent ); public void controlEvent( CallbackEvent theEvent );