上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 103 下一页
摘要: 2016-06-06 7388 作者:Olivier Halligon,原文链接,原文日期:2016-05-16 译者:walkingway;校对:Cee;定稿:numbbbbb 现在我们来重新回顾下前三弹模式匹配的各种语法 第一弹,第二弹,第三弹,第四弹是本系列的最后一篇文章,本章会教大家使用 i 阅读全文
posted @ 2018-08-02 11:57 zzfx 阅读(386) 评论(0) 推荐(0)
摘要: 钱包术语: wallet RIPEMD160 BASE58 Secp256k1 ECDSA abbr. elliptic curve digital signature algorithm 椭圆曲线数字签名算法 SHA256 椭圆曲线数字签名算法(ECDSA)是使用椭圆曲线密码(ECC)对数字签名算 阅读全文
posted @ 2018-08-01 16:02 zzfx 阅读(281) 评论(0) 推荐(0)
摘要: #define SIGSEGV 11 /* segmentation violation */ #define SIGSYS 12 /* bad argument to system call */ #define SIGPIPE 13 /* write on a pipe with no one 阅读全文
posted @ 2018-08-01 15:33 zzfx 阅读(152) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/nanyu/article/details/6475555 有人问这个问题: Code: try { std::cout << 10/0 << std::endl; } catch(...) { std::cout << "exception" << std 阅读全文
posted @ 2018-08-01 14:24 zzfx 阅读(874) 评论(0) 推荐(0)
摘要: 重载:同级、符号不同; 重写:继承关系、命名空间不同; 覆盖:无法查找、使用原来的函数;参考oc分类的函数。 阅读全文
posted @ 2018-07-19 15:37 zzfx 阅读(141) 评论(0) 推荐(0)
摘要: 重载:会生成不同的符号,不会导致符号冲突; 重写:符号相同,只支持继承体系中使用,不支持同级使用。 重写需要命名空间来做出区分。 阅读全文
posted @ 2018-07-18 10:43 zzfx 阅读(178) 评论(0) 推荐(0)
摘要: A concrete layout object that organizes items into a grid with optional header and footer views for each section. The items in the collection view flo 阅读全文
posted @ 2018-07-17 17:39 zzfx 阅读(581) 评论(0) 推荐(0)
摘要: protocol GameMode:class “You can limit protocol adoption to class types (and not structures or enumerations) by adding the class keyword must always a 阅读全文
posted @ 2018-07-17 14:53 zzfx 阅读(306) 评论(0) 推荐(0)
摘要: 方法inflate(int resource, ViewGroup root, boolean attachToRoot) 中 第一个参数传入布局的资源ID,生成fragment视图,第二个参数是视图的父视图,通常我们需要父视图来正确配置组件。第三个参数告知布局生成器是否将生成的视图添加给父视图。 阅读全文
posted @ 2018-07-09 15:46 zzfx 阅读(383) 评论(0) 推荐(0)
摘要: 面向类型编程; 面向对象编程与业务和属性相关; 面向类型编程与函数的符合相关 ; 阅读全文
posted @ 2018-07-07 21:42 zzfx 阅读(180) 评论(0) 推荐(0)
摘要: 1).ArrayList  ArrayList维护着一个对象数组。如果调用new ArrayList()后,它会默认初始一个size=10的数组。  每次add操作都要检查数组容量,如果不够,重新设置一个初始容量1.5倍大小的新数组,然后再把每个元素copy过去。  在数组中间插入或删除,都要 阅读全文
posted @ 2018-07-06 16:55 zzfx 阅读(284) 评论(0) 推荐(0)
摘要: 容量、操作、运算(两个集合类)。 核心是迭代器、比较器、数组、链表、哈希表。 阅读全文
posted @ 2018-07-06 16:47 zzfx 阅读(119) 评论(0) 推荐(0)
摘要: 对于Android开发者来说深入了解Java的集合类很有必要主要是从Collection和Map接口衍生出来的,目前主要提供了List、Set和 Map这三大类的集合 Collection接口主要有两种子类分别为List和Set,区别主要是List保存的对象可以重复 而Set不可以重复 而Map一般 阅读全文
posted @ 2018-07-06 16:17 zzfx 阅读(3316) 评论(0) 推荐(0)
摘要: bogon:ccbmobilebank zzf073$ make package > Making all for tweak CCBMobileBank… make[2]: Nothing to be done for `internal-library-compile'. > Making st 阅读全文
posted @ 2018-07-06 15:52 zzfx 阅读(220) 评论(0) 推荐(0)
摘要: 约定 约定前面的数组结构的每一个格格称为桶 约定桶后面存放的每一个数据称为bin bin这个术语来自于JDK 1.8的HashMap注释。 size size表示HashMap中存放KV的数量(为链表和树中的KV的总和)。 capacity capacity译为容量。capacity就是指HashM 阅读全文
posted @ 2018-07-06 15:20 zzfx 阅读(7577) 评论(2) 推荐(1)
摘要: 1.public V get(Object key) { 2. if (key == null) 3. return getForNullKey(); 4. int hash = hash(key.hashCode()); 5. for (Entry<K,V> e = table[indexFor( 阅读全文
posted @ 2018-07-06 15:12 zzfx 阅读(165) 评论(0) 推荐(0)
摘要: Style在Android中的继承关系 Android的Styles(样式)和Themes(主题)非常类似Web开发里的CSS,方便开发者将页面内容和布局呈现分开。Style和Theme在Android里的定义方式是完全一样的,两者只是概念上的区别:Style作用在单个视图或控件上,而Theme用于 阅读全文
posted @ 2018-07-05 11:47 zzfx 阅读(1054) 评论(0) 推荐(0)
摘要: that you use to animate the views and other visual elements of your app. Core Animation is not a drawing system itself. It is an infrastructure for co 阅读全文
posted @ 2018-07-02 19:12 zzfx 阅读(102) 评论(0) 推荐(0)
摘要: CAEAGLLayer是CALayer的一个子类,用来显示任意的OpenGL图形。 UIView有个layer属性,可以返回它的主CALayer实例,UIView有一个layerClass方法,返回主layer所使用的类,UIView的子类,可以通过重载这个方法,来让UIView使用不同的CALay 阅读全文
posted @ 2018-07-02 19:03 zzfx 阅读(349) 评论(0) 推荐(0)
摘要: 这些api包含的绘制操作都在一个图形环境中进行绘制。一个图形环境包含绘制参数和所有的绘制需要的设备特定信息,包括屏幕图形环境、offscreen 位图环境和PDF图形环境,用来在屏幕表面、一个位图或一个pdf文件中进行图形和图像绘制。在屏幕图形环境中进行的绘制限定于在一个UIView类或其子类的实例 阅读全文
posted @ 2018-07-02 18:57 zzfx 阅读(1737) 评论(0) 推荐(0)
上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 103 下一页