1、Object类是所有java类的基类如果在类的声明中未使用extends关键字指明其基类,则默认基类为Object类,ex:public class Person{ ~~~~~}等价于public class Person extends Object{ ~~~~~}2、Object...
分类:
编程语言 时间:
2014-10-04 02:40:35
阅读次数:
160
JSON (JavaScript Object Notation)是一种轻量级的数据交换格式。JSON 的具体教程,可以参见 JSON 中国:http://www.json.org.cn/index.htm ,当然还有 JSON 在线校验格式化工具:http://www.bejson.com/ ,希望深入学习 JSON 可以参考其他教程。JSON 的轻量级是相对于 XML 文档结构而言的,描述项目字符少,所以描述相同的数据所需的字符个数要少,当然传输的速度就会提高而流量也会减少。...
分类:
移动开发 时间:
2014-10-04 01:28:15
阅读次数:
377
Chapter 18 Saving, Loading, and Application State1. Archiving is one of the most common ways of persisting model objects on iOS. Archiving an object i...
分类:
移动开发 时间:
2014-10-04 00:03:55
阅读次数:
286
new & delete expression 1. Introduction A new expression allocates and constructs an object of a specified type. A new[] expression allocates and cons...
分类:
其他好文 时间:
2014-10-03 23:18:15
阅读次数:
355
1. Type conversion:If we assign an out-of-range value to an object of unsigned type, the result is the remainder of the value modulo the number of val...
分类:
编程语言 时间:
2014-10-03 18:53:04
阅读次数:
198
如果你研究过人脸识别,或者对这方面有兴趣,那么你一定听说过Paul Viola。他可以算得上是人脸检测识别的始祖,他的一篇大作《RobustReal-time Object Detection》可以说是人脸识别领域最重要的一篇论文。本文主要就这篇论文展开,介绍Haar特征,积分图,Adaboost等内容。...
分类:
其他好文 时间:
2014-10-03 18:00:04
阅读次数:
596
添加字段用IFeatureClass的AddField 或者 ITable的AddField方法private void 添加字段ToolStripMenuItem_Click(object sender, EventArgs e) { IFeatureLayer pFeatureLayer= pL...
分类:
其他好文 时间:
2014-10-03 17:48:34
阅读次数:
196
在模版中写好响应操作触发的action之后,可以在controller:actions中设置了,需要注意的是对数据的操作一般都是对单个object进行操作,所以先要使用笔记1中的方法使用ObjectController。 新增并存储数据: 模版中可以设置{{input type="text" ...
分类:
Web程序 时间:
2014-10-03 17:20:34
阅读次数:
180
ember中数据一般都是以array的形式存储的,控制器使用,如:App.DataController = Em.ArrayController.extend({}); 在模版中使用{{#each}}输出Aarray的每个Object,这时时候可能需要对其进行操作,使用ObjectContro...
分类:
Web程序 时间:
2014-10-03 15:56:34
阅读次数:
217
说明:本人用的win8 系统装Code::Blocks练习OC。
1.类的声明和实现的关系图:
@interface就好像暴露在外面的时钟表面
@implementation就好像隐藏在时钟内部的构造实现
2.语法中要注意的地方
(1).成员变量不能在{}中进行初始化、不能被直接拿出去访问
(2).方法不能当做函数一样调用
(3).成员变量\方法不能用stat...
分类:
其他好文 时间:
2014-10-03 14:23:04
阅读次数:
171