Oracle异常分类Oracle预定义异常(即已定义的内部异常)Oracle非预定义异常(即未定义的内部异常)用户自定义异常常见的预定义异常 NO_DATA_FOUND 语句没有查询出符合条件的记录返回TOO_MANY_ROWS 语句符合条件的记录有多条返回DUP_VAL_ON_INDEX 数据库表...
分类:
数据库 时间:
2015-01-27 11:01:11
阅读次数:
314
试想一个问题:如果我们需要给一个超类的方法实现一种更强的功能,也就是加强版的超类,一般会怎么做?继承?Too young too simple!看看下面的例子:当我们需要一个类,需要HashSet类的所有方法,但是随时需要知道在其创建到目前,已经加入过多少元素,该如何实现?一般使用继承,覆盖add(...
分类:
编程语言 时间:
2015-01-27 10:57:03
阅读次数:
197
错误代码:objc_msgSend(self.beginRefreshingTaget, self.beginRefreshingAction, self);解决方案:选中项目 - Project - Build Settings -ENABLE_STRICT_OBJC_MSGSEND 将其设置为 ...
分类:
其他好文 时间:
2015-01-25 23:56:04
阅读次数:
175
在写一个模型转换工具类的时候,用到,在Xcode6中,objc_msgSend 这个方法会报错错误代码:objc_msgSend(self, selector, value);错误信息 :Too many arguments to function call, expected 0, have 3解...
分类:
其他好文 时间:
2015-01-25 23:55:54
阅读次数:
157
The 3ds Max file format, not too much documentation to be found about it. There are some hints here and there about how it’s built up, but there exist...
分类:
其他好文 时间:
2015-01-24 12:50:15
阅读次数:
1122
题目大意:判断(A+B)%86是否等于0,等于0输出"yes",否则输出"no"。
思路:水的不能再水了。。。...
分类:
其他好文 时间:
2015-01-23 21:33:57
阅读次数:
433
Description“Point, point, life of student!”This is a ballad(歌谣)well known in colleges, and you must care about your score in this exam too. How many p...
分类:
其他好文 时间:
2015-01-23 17:37:31
阅读次数:
226
这道题我一开始的想法是:把每个需要交换的都交换了,循环n次肯定就是结果,n又比较小不会超时。但是这种想法too young,因为它无法交换需要间接交换的两个数。所以一种正确解法是:找出能间接交换的所有i和j,把对应的A[i][j]=A[j][i]='1',之后只需扫一遍整个矩阵把要换的换了就是最终结...
分类:
其他好文 时间:
2015-01-23 12:45:09
阅读次数:
226
1.怎样按照原理图页面进行摆放摆放一个原理图中全部的元件于pcb editor中:选中该页面->edit->browse->parts(显示了所有的元件)->选中该页面所有的元件->点击edit->property(设置属性,可以添加新的属性)比如添加一个page的属性(可以和其他夜进行区分)too...
分类:
其他好文 时间:
2015-01-22 21:46:42
阅读次数:
212
Description“Point, point, life of student!”This is a ballad(歌谣)well known in colleges, and you must care about your score in this exam too. How many p...
分类:
其他好文 时间:
2015-01-22 14:38:12
阅读次数:
187