码迷,mamicode.com
首页 >  
搜索关键字:cannot assign to sel    ( 19703个结果
用List <Object[]>类型保存的, 这个结果只包含一列数据问题
当是只有一列数的时候系统就不认定它是一个Object[] 而是一个String所以回报一个,java.lang.String cannot be cast to [Ljava.lang.Object错误信息。解决办法,让他返回两个,再取值
分类:其他好文   时间:2014-05-09 03:15:45    阅读次数:301
Objective C assign&copy & retain区别
什么是assign,copy,retain之间的区别?assign: 简单赋值,不更改索引计数(Reference Counting)。copy: 建立一个索引计数为1的对象,然后释放旧对象retain:释放旧的对象,将旧对象的值赋予输入对象,再提高输入对象的索引计数为1retain是指针拷贝,co...
分类:其他好文   时间:2014-05-09 00:08:47    阅读次数:419
解决 android.view.ViewGroup$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams
错误日志1:06-13 10:55:50.410: E/KVLog(1129):Error info:java.lang.ClassCastException: android.widget.LinearLayout$LayoutParams06-13 10:55:50.423: E/KVLog(1...
分类:移动开发   时间:2014-05-08 23:50:45    阅读次数:2753
Ubuntu安装NRPE(Nagios插件)报:Cannot find ssl headers解决方法!
Linux系统:Ubuntu12.04NagiosLinux客户端需要安装NRPE进行数据收集,如果在Ubuntu系统下安装过程中遇到下面的错误提示:checkingforSSLlibraries...configure:error:Cannotfindssllibraries那么可能是缺少sudoapt-getinstallopensslsudoapt-getinstalllibssl-dev如果nrpe-2.15..
分类:移动开发   时间:2014-05-08 17:02:07    阅读次数:404
LDA学习总结
1. What is the LDA?LDA(latent dilichlet allocation) is a method to assign the topic (distribution) of a given document. However, note that this model ...
分类:其他好文   时间:2014-05-08 13:16:49    阅读次数:289
meta program (1) swap_iter
开始学习模板元编程了 #include #include #include #include #include "boost/assign/list_of.hpp" #include "boost/type_traits/is_const.hpp" #include "boost/type_traits/is_reference.hpp" #include "boost/type_tr...
分类:其他好文   时间:2014-05-07 16:32:27    阅读次数:358
深入浅出Cocoa之消息(二)-详解动态方法决议(Dynamic Method Resolution) 【转】
序言如果我们在 Objective C 中向一个对象发送它无法处理的消息,会出现什么情况呢?根据前文《深入浅出Cocoa之消息》的介绍,我们知道发送消息是通过 objc_send(id, SEL, ...) 来实现的,它会首先在对象的类对象的 cache,method list 以及父类对象的 ca...
分类:其他好文   时间:2014-05-07 14:53:24    阅读次数:562
jubuntu cannot open vitualbox
Failed to open a session for the virtual machine winxp. The virtual machine 'winxp' has terminated unexpectedly during startup with exit code 1. Result Code: NS_ERROR_FAILURE (0x80004005) Compo...
分类:其他好文   时间:2014-05-07 12:33:48    阅读次数:317
TFS 2010 配置的时候,提示TF255466错误
TFS 2010 配置的时候,提示TF255466错误Error [ System Checks ] TF255466: The configuration process for Team Foundation Server cannot continue. A previous update o...
分类:其他好文   时间:2014-05-07 00:15:11    阅读次数:358
安装流量监控系统-NTOP:中文版
Linux/Centos安装ntop中文版一:安装环境yuminstalllibpcaplibpcap-devellibpnggdbmgdbm-develgliblibxml2-develpangopango-develgddos2unixlibtool-ltdllibtool-ltdl-develgcclibtoolrrdtool-devel检测下:yuminstall-ylibpcap*freetype*libpng*gdbm*libart_lgpl*libtool*rrdt..
分类:其他好文   时间:2014-05-06 20:09:48    阅读次数:342
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!