码迷,mamicode.com
首页 >  
搜索关键字:super jumping jumpin    ( 6798个结果
springMVC之异常处理
1. 自定义一个异常类: UserException.java public class UserException extends RuntimeException { private static final long serialVersionUID = 1L; public UserException() { super(); } public UserExcept...
分类:编程语言   时间:2014-08-20 01:26:15    阅读次数:179
攻城狮在路上(叁)Linux(二十六)--- linux文件系统的特殊查看与操作
一、boot sector 与 super block的关系: 1、boot sector用于存放引导装载程序,占用1024个字节。 2、super block的大小也为1024字节。 3、若block大小为1k,则boot sector和super block各占一个block。 4、若b...
分类:系统相关   时间:2014-08-19 23:48:45    阅读次数:224
android 按钮点击事件
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.la...
分类:移动开发   时间:2014-08-19 23:42:45    阅读次数:313
super理解
一、super()理解: super()表示执行一次父类构造函数, 若父类有参数,则子类 中必须‘显式调用’:super(参数)----------注:显式调用需具有正确参数数目,否则将产生错误。 若父类无参,则‘隐式调用’或‘显式调用’ 都可 ,即super()写不写都可以。二、super....
分类:其他好文   时间:2014-08-19 18:14:35    阅读次数:201
Java基础- super 和 this 解析
1. super关键字表示超(父)类的意思。this变量代表对象本身。 2. super访问父类被子类隐藏的变量或覆盖的方法。当前类如果是从超类继承而来的,当调用super.XX()就是调用基类版本的XX()方法。 其中超类是最近的父类。 3.调用super() 父类构造函数的时候只能调用在子类构造函数的第一行 4.this只能在类中的非静态方法中使用,静态方法和静态的代码块中绝对不能...
分类:编程语言   时间:2014-08-19 16:34:44    阅读次数:194
10624 - Super Number
题目链接 题意:给出n到m的范围,求出一个数在前i位数组成的数字能被i整除,如果存在输出这个数,如果不存在,输出-1. 思路:回溯,每次放第i位,然后判断是否符合题意。这题踩着时间过去的2.6s(看了下别人的题解,可以减少取模次数来节省时间)。 代码: #include #include #include #include using namespace ...
分类:其他好文   时间:2014-08-18 22:05:53    阅读次数:303
Spring dao单元测试
public?class?JdbcDao?extends?JdbcDaoSupport? { ????@SuppressWarnings("rawtypes") ????public?List?getTables() ????{ ????????List?result?=?super.getJdbcTemplate().query...
分类:编程语言   时间:2014-08-18 20:39:23    阅读次数:246
UVA - 11752 The Super Powers
We all know the Super Powers ofthis world and how they manage to get advantages in political warfare or evenin other sectors. But this is not a political platform and so we will talkabout a different ...
分类:其他好文   时间:2014-08-18 18:42:02    阅读次数:191
POJ3258:River Hopscotch(二分)
Description Every year the cows hold an event featuring a peculiar version of hopscotch that involves carefully jumping from rock to rock in a river. The excitement takes place on a long, straight ...
分类:其他好文   时间:2014-08-18 16:31:12    阅读次数:201
zoj1232Adventure of Super Mario(图上dp)
题目连接: 啊哈哈,点我点我 思路: 这个题目是一个图上dp问题,先floyd预处理出图上所有点的最短路,但是在floyd的时候,把能够用神器的地方预处理出来,也就是转折点地方不能为城堡。。预处理完毕后,就是一个dp问题了。。。dp[][],两维分别表示到达的地点和使用神器的次数。。这样这个问题就得到了解决。。 题目: Adventure of Super Mario Ti...
分类:其他好文   时间:2014-08-18 12:35:34    阅读次数:250
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!