项目学习(三)

来源:互联网 发布:电子宠物机多少钱知乎 编辑:程序博客网 时间:2024/06/06 03:47
1.com.annimon.stream.Stream
com.annimon.stream.Stream

floattotal = Stream.of(rize,fall,equal)
.map(ColorItem::getNumber)
.reduce((v1,v2) -> v1 + v2)
.get();

compile'com.annimon:stream:1.1.4'


http://blog.csdn.net/jeffhtlee/article/details/50459150
2.@ColorInt

@ColorInt
private intbg_rise,bg_fall,bg_equal,textColor_rise,textColor_fall;
3.EventBus框架总结之支持泛型参数
http://blog.csdn.net/AdobeSolo/article/details/73698631
java伪范型 本身不支持范型,会发生object强转错误
4.代码混淆
http://www.jianshu.com/p/f3455ecaa56e
http://blog.csdn.net/u013718120/article/details/51777242
https://github.com/qbeenslee/gradle-proguard-dictionary/blob/master/dictionary.txt
5.Flutter(待掌握)
http://tech.it168.com/a2017/0626/3135/000003135816.shtml
https://zhuanlan.zhihu.com/p/27292008
6.建造者模式
建造者模式:是将一个复杂的对象的构建与它的表示分离,使得同样的构建过程可以创建不同的表示。
{
"Sxxxxxy": {
"hxk": [
"hk00003"
],
"cxn": [
"sh600000",
"sz000001"
],
"cxn": [
"sh600000",
"sz000001"
],
"cxn": [
"sh600000",
"sz000001"
]
}
}
https://www.cnblogs.com/BeyondAnyTime/archive/2012/07/19/2599980.html
http://blog.csdn.net/hp910315/article/details/49405311