多个member的 java bean,生成的 equals 代码基本没法读。
有个 plugin 用 spring commons 生成代码,spring commons 的 EqualsBuilder 的问题在于……confluence interface。
不知什么时候开始出现了一批迷信confluence interface的人,各种 method call chain...
分类:
其他好文 时间:
2014-11-24 10:05:28
阅读次数:
255
#import @interface UIImage (ZB)+(UIImage *)imageWithName:(NSString *)name;@end#import "UIImage+ZB.h"@implementation UIImage (ZB)+(UIImage *)imageWithN...
分类:
其他好文 时间:
2014-11-24 00:45:41
阅读次数:
201
由于周五我有一些事情没来得及总结当天的知识,所以在今天总结一下周五在云和学院所学到的有关委托的知识。理论:接口:?接口的定义:interface关键字,接口中可以有属性、方法(未实现)?接口的名称通常以“I”开头,如IList?如果一个类即继承了类又实现了接口,那么类必须写在前面。一个类只能继承一....
#import @class student;@interface DataBaseHandle : NSObject//设置单例+(DataBaseHandle *)shareDB;//获取沙盒document路径-(NSString *)documentPath;//打开数据库-(void)op...
分类:
数据库 时间:
2014-11-23 18:43:11
阅读次数:
290
Data in Java Java has pointers – they are called ‘referenes’ Null is typically represented as 0 Characters and strings Two-byte Unicode instead of ASC...
分类:
其他好文 时间:
2014-11-23 17:28:35
阅读次数:
187
The malloc package void* malloc(size_t size) void free (void *p) other functions calloc: Version of malloc that initializes allocated block to zero re...
分类:
其他好文 时间:
2014-11-23 17:18:55
阅读次数:
180
有的时候我们在Windows7的环境下使用Wireshark的时候,比如点击【Interface List】的时候,出现错误。
错误内容如下:
There are no interfaces on which a capture can be done.
这个错误是因为系统没有启动NPF服务造成的。
解决的办法很简单:
01、在【开始】–>【运行】
02、输入:cmd
0...
Cache Definition: computer memory with short access time used for the storage of frequently or recently used instructions or data(i-cachhe and d-cache...
分类:
其他好文 时间:
2014-11-23 15:40:24
阅读次数:
221
Exceptions: An exception is transfer of control to the operating system in response to some event. exception processing by exception handler Process(进...
分类:
其他好文 时间:
2014-11-23 15:38:24
阅读次数:
271
-keepattributes *Annotation*
-keepattributes *JavascriptInterface*
-keepclassmembers class fqcn.of.javascript.interface.for.webview {
public *;
}
-keepclassmembers class cn.xx.xx.Activity$AppAndr...
分类:
移动开发 时间:
2014-11-23 14:35:01
阅读次数:
186