final 1.类 不含任何子类,有父类(太监类);其中方法不能覆盖重写 2.方法 最终方法,不能被覆盖重写 3.局部变量 赋值后不能改变,只能赋一次值 4.成员变量 <1>由于成员变量有默认值,故定义成员变量为final时必须手动赋值,不会再给默认值 <2>可采用直接赋值和构造方法间接赋值 <3> ...
分类:
其他好文 时间:
2019-08-09 17:32:04
阅读次数:
107
1.HashMap可以存放null HashTable不能存放null 2.HashMap是线程不安全的 HashTable是线程安全的 StringBuffer 是线程安全的 StringBuilder 是非线程安全的 所以当进行大量字符串拼接操作的时,如果是单线程就用StringBuilder, ...
分类:
编程语言 时间:
2019-08-09 15:24:56
阅读次数:
109
原文:C# 泛型单例 不支持非公共的无参构造函数的 public abstract class BaseInstance where T : class,new() { private readonly static object lockObj = new object(); private st... ...
public enum GAME_TAG // Token: 0x0400627F RID: 25215 RUSH = 791, // Token: 0x04006280 RID: 25216 ATTACKABLE_BY_RUSH = 930, public abstract class Entit ...
分类:
其他好文 时间:
2019-08-07 13:16:26
阅读次数:
100
什么是tomcat?tomcat如何使用? 请 参考官网 https://tomcat.apache.org/tomcat-9.0-doc/index.html 详细使用介绍请点击 https://www.cnblogs.com/xdp-gacl/p/4097608.html 方法一: 下载tomc ...
分类:
系统相关 时间:
2019-08-06 13:47:11
阅读次数:
144
public abstract class BaseFragment extends Fragment implements IBaseView { private List<BasePresenter> mInjectPresenters; private View mLayoutView; pr ...
分类:
其他好文 时间:
2019-08-04 20:02:58
阅读次数:
115
public abstract class BaseActivity extends AppCompatActivity implements IBaseView { /** * 保存使用注解的 Presenter ,用于解绑 */ private List<BasePresenter> mInje ...
分类:
其他好文 时间:
2019-08-04 19:59:27
阅读次数:
107
public abstract static class OnScrollListener { /** * Callback method to be invoked when RecyclerView's scroll state changes. * * @param recyclerView ...
分类:
其他好文 时间:
2019-08-04 19:42:41
阅读次数:
107
public abstract class BaseActivity<P extends IBasePresenter> extends AppCompatActivity implements IBaseView { private P mPresenter; protected abstract ...
分类:
其他好文 时间:
2019-08-04 19:17:00
阅读次数:
90
abstract 1. install wsl 2. install fluent terminal 3. install zsh 4. install oh my zsh 5. config oh my zsh 6. sudo for windows install wsl install flu ...