码迷,mamicode.com
首页 >  
搜索关键字:object    ( 37240个结果
Object C学习笔记26-文件管理(二)
上一篇简单的介绍了如何获取文件属性,删除,拷贝文件等,本文继续记录Object C中文件IO操作。 一. 获取文件的执行主目录 在Object C中提供了一个方法NSHomeDirectory() 用于获得执行执行的主目录,使用如下代码测试:NSString *homePath=NSHo...
分类:其他好文   时间:2014-05-05 22:30:57    阅读次数:351
org.hibernate.NonUniqueObjectException 异常
在做hibernate修改和删除的时候,可能会遇到 org.hibernate.NonUniqueObjectException异常,a different object with the same identifier value was already associated with the s...
分类:系统相关   时间:2014-05-05 22:27:35    阅读次数:361
Android activity的生命周期
转自:http://blog.csdn.net/hpoi/article/details/4629065 Android activity的生命周期 activity类处于android.app包中,继承体系如下: 1.java.lang.Object 2.android.content.Conte...
分类:移动开发   时间:2014-05-05 21:51:21    阅读次数:344
GC使用注意
GC.Collect()GC.WaitForPendingFinallizers()GC.KeepAlive尽量不要new很大的Object不要频繁的new生命周期很短的Object,这样会导致很多内存碎片引起频繁的压缩
分类:其他好文   时间:2014-05-05 21:47:03    阅读次数:448
android File存储
文件存储的用途: A File object is suited to reading or writing large amounts of data in start-to-finish order without skipping around. For example, it's good for image files or anything exchanged over a netw...
分类:移动开发   时间:2014-05-05 13:01:21    阅读次数:339
集合总结
Collection接口 Collection是最基本的集合接口,一个Collection代表一组Object,即Collection的元素(Elements)。一些 Collection允许相同的元素而另一些不行。一些能排序而另一些不行。Java SDK不提供直接继承自Collection的类,....
分类:其他好文   时间:2014-05-03 23:27:11    阅读次数:350
android MediaPlayer
Playback control of audio/video files and streams is managed as a state machine. The following diagram shows the life cycle and the states of a MediaPlayer object driven by the supported playback cont...
分类:移动开发   时间:2014-05-03 21:36:21    阅读次数:568
js:深入prototype(下:原型重写)
//当属性和方法特别多时,编写起来不是很方便,可以通过json的格式来编写 //由于原型重写,而且没有通过Person.prototype来指定,此时的constructor不会再指向Person而是指向Object //如果constructor真的比较重要,可以在json中说明原型的指向 function Person(){    } Person.prototype = {...
分类:Web程序   时间:2014-05-03 21:02:22    阅读次数:403
js:对象的创建(为prototype做铺垫)
/**  *在js中并不存在类,所以可以直接通过Object来创建对象,但是使用这种方式创建有一  *弊端:由于没有类的约束,无法实现对象的重复利用,并且没有一种规范约定,在操作时容易带来问题。  */ var person = new Object(); person.name = "octopus"; person.age = 25; person.say = function(...
分类:Web程序   时间:2014-05-03 15:39:22    阅读次数:371
ognl
OGNL        OGNL是Object-Graph Navigation Language的缩写,它是一种功能强大的表达式语言(Expression Language,简称为EL),通过它简单一致的表达式语法,可以存取对象的任意属性,调用对象的方法,遍历整个对象的结构图,实现字段类型转化等功能。它使用相同的表达式去存取对象的属性。 OGNL是Object-Graph Navig...
分类:其他好文   时间:2014-05-03 15:27:57    阅读次数:461
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!