Back to project page droidkit-engines.
The source code is released under:
MIT License
If you think the Android project droidkit-engines listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.droidkit.engine._internal; /*from w w w . j a v a2s. co m*/ import com.droidkit.actors.Actor; /** * Created by ex3ndr on 28.08.14. */ public class RunnableActor extends Actor { @Override public void onReceive(Object message) { if (message instanceof Runnable) { ((Runnable) message).run(); } } }