码迷,mamicode.com
首页 > 编程语言 > 详细

RxJava的Action

时间:2018-01-22 10:57:17      阅读:181      评论:0      收藏:0      [点我收藏+]

标签:int   inter   func   nal   cti   pre   except   void   nta   

A functional interface similar to Runnable but allows throwing a checked exception.
public interface Action {
/**
* Runs the action and optionally throws a checked exception.
* @throws Exception if the implementation wishes to throw a checked exception
*/
void run() throws Exception;
}

RxJava的Action

标签:int   inter   func   nal   cti   pre   except   void   nta   

原文地址:https://www.cnblogs.com/jianglijs/p/8327681.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!