java中用于解释json的主流工具有org.json、json-lib与gson,本文介绍org.json的应用。
官方文档:
http://www.json.org/java/
http://developer.android.com/reference/org/json/package-summary.html
1、主要类
Classes
JSO...
分类:
Web程序 时间:
2014-05-14 20:46:28
阅读次数:
484
date--help用法:date[选项]...[+格式]或:date[-u|--utc|--universal][MMDDhhmm[[CC]YY][.ss]]以给定的格式显示当前时间,或是设置系统日期。-d,--date=字符串显示指定字符串所描述的时间,而非当前时间-f,--file=日期文件类似--date,从日期文件中按行读入时间描述-r,--refer..
分类:
系统相关 时间:
2014-05-14 16:11:37
阅读次数:
863
字符串 string block ---- copyFoundtion对象用 (array,
NSObject) ---- StrongUI控件 代理 ---- weak基本数据类型 ---- ...
分类:
其他好文 时间:
2014-05-13 17:20:23
阅读次数:
207
org.xml.sax.SAXParseException; lineNumber: 9; columnNumber: 78; schema_reference.4: 无法读取方案文档 'http://www.springframework.org/schema/beans/spring-beans-3.0.xsd', 原因为 1) 无法找到文档; 2) 无法读取文档; 3) 文档的根元素不是 。
Caused by: java.net.SocketException: Softwa...
分类:
移动开发 时间:
2014-05-13 09:31:11
阅读次数:
750
Multiple annotations found at this line: - schema_reference.4: Failed to read schema document 'http://www.directwebremoting.org/schema/spring-dwr-2.0.xsd', because 1) could not find the document; 2)...
分类:
编程语言 时间:
2014-05-12 22:55:47
阅读次数:
409
1.参考图像列表(reference picture list)
一般来说,h.264会把需要编码的图像分为三种类型:I、P、B,其中的B、P类型的图像由于采用了帧间编码的这种编码方式,而帧间编码又是以参考图像为基础进行的,因此需要有个参考图像列表来管理之前生成的参考图像,方便用于对当前图像进行.....
分类:
其他好文 时间:
2014-05-12 21:16:14
阅读次数:
435
ServerStatus返回信息ServerStatus返回mongodb中很多信息http://docs.mongodb.org/manual/reference/command/serverStatus/目录ServerStatus返回信息...
11.实例信息... 12.锁... 13.全局...
分类:
数据库 时间:
2014-05-12 06:05:36
阅读次数:
694
一、序言
一个简单的string 容器到底是如何实现的?
本文给出了 String 的三种从易到难的实现,涉及了 reference counting, copy on write 的技术。
二、第一个实现
我们设计的string类里面包含一个char* 的指针, 通过指针的管理,来实现string的基本功能。
废话不多说了,直接上代码:
{CSDN:CODE:...
分类:
其他好文 时间:
2014-05-11 06:58:16
阅读次数:
311
/* reference
http://nehe.gamedev.net/article/using_gluunproject/16013/*/#include //
windows系统要加这个。因为下面2个头文件的一些宏是在这个文件中定义的#include #include //这...
分类:
其他好文 时间:
2014-05-09 19:55:22
阅读次数:
365
循环引用:引用计数是一种便利的内存管理机制,但它有一个很大的缺点,那就是不能管理循环引用的对象。一个简单的例子如下:#include#include#include#includeclassparent;classchildren;typedefboost::shared_ptr
parent_pt...
分类:
其他好文 时间:
2014-05-09 13:01:22
阅读次数:
326