码迷,mamicode.com
首页 >  
搜索关键字:object    ( 37240个结果
NSHashTable 和 NSMapTable的学习
今天在实现play gif功能的时候,看到有两个类比较陌生,就在此记录下看到的东西: NSSet和NSDictionary是两个常用的类,但是他们默认假定了其中对象的内存行为。对于NSSet,object是强引用的,和NSDictionary中的value是一样的。而NSDictionary中的key则是copy的,因此当开发者想要使NSSet的objects或者NSDictionary的v...
分类:其他好文   时间:2014-10-10 19:16:34    阅读次数:242
JAVA经验:很有启发(三)
前两次分别讲述了Java关于jvm、jdk、jre、collection、classLoader和一些Design Pattern的自我理解。这次仍然不准备开始过渡到j2ee中,因为觉得还有一些琐碎的j2se的问题没有总结完毕。 1. 关于Object类理解 大家都知道Object是所有Ja...
分类:编程语言   时间:2014-10-10 17:45:44    阅读次数:173
Object
An object is an unordered collection of properties, each of witch has a name and value.An object is more than a simple string-to-value map, in additio...
分类:其他好文   时间:2014-10-10 16:34:34    阅读次数:145
NSObject中的performSelector:withObject用法简介
-(id)performSelector:(SEL)aSelector withObject:(id)anObjectDescription[说明]Sends a message to the receiver with an object as the argument. (required)[将...
分类:其他好文   时间:2014-10-10 16:28:10    阅读次数:146
NSObject的performSelector: withObject: withObject:使用简介
-(id)performSelector:(SEL)aSelector withObject:(id)anObject withObject:(id)anotherObjectDescription[说明]Sends a message to the receiver with two object...
分类:其他好文   时间:2014-10-10 16:00:50    阅读次数:223
用LINQ( group by having) 找出Datatable中的重复数据
private void butCF_Click(object sender, RoutedEventArgs e) { if (DatagridDatatable != null && DatagridDatatable.Rows.Count > 0) ...
分类:其他好文   时间:2014-10-10 15:02:30    阅读次数:132
entityManager
ScenarioEntityManager.persistEntityManager.mergeSessionManager.saveOrUpdateObject passed was never persisted1. Object added to persistence context as ...
分类:其他好文   时间:2014-10-10 14:50:34    阅读次数:182
Interview Q&A - 什么是多态?
Polymorphism is often referred to as the third pillar of object-oriented programming, after encapsulation and inheritance. It has two distinct aspects: At run time, objects of a derived class may...
分类:其他好文   时间:2014-10-10 14:05:54    阅读次数:158
C#图像处理(各种旋转、改变大小、柔化、锐化、雾化、底片、浮雕、黑白、滤镜效果)
一、各种旋转、改变大小注意:先要添加画图相关的using引用。//向右旋转图像90°代码如下:private void Form1_Paint(object sender, System.Windows.Forms.PaintEventArgs e){Graphics g = e.Graphics;...
分类:其他好文   时间:2014-10-10 10:44:54    阅读次数:392
在开发板上实现矢量字体显示
对于开发板实现显示矢量字体,同样PC机一样,我需要字体文件,这里选择simsun.ttc(新宋体)。1)初始化库 FT_Init_FreeType( &library ); /* initialize library */2)create face object FT_New_Face( lib.....
分类:其他好文   时间:2014-10-10 02:33:03    阅读次数:200
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!