redirect 这个方法是在 CController 里定义的先来看下官方介绍redirect()方法public voidredirect(mixed $url, boolean $terminate=true, integer $statusCode=302)$urlmixedthe URL ...
分类:
其他好文 时间:
2014-07-19 17:38:39
阅读次数:
219
1. 字符串与整型的相互转换 String a = String.valueOf(2); //integer to numeric string int i = Integer.parseInt(a); //numeric string to an int 2,得到当前方法的名字 public cl...
分类:
编程语言 时间:
2014-07-19 17:09:09
阅读次数:
206
Robot MotionTime Limit: 1000 MS Memory Limit: 10000 KB64-bit integer IO format: %I64d , %I64u Java class name: Main[Submit] [Status] [Discuss]Descript...
分类:
其他好文 时间:
2014-07-19 16:19:18
阅读次数:
217
1. 框架定义: 2. color:颜色值,指定这个属性必须输入的是颜色值3. boolean:布尔值,指定这个属性必须输入的是boolean类型(true/false)4. dimension:尺寸值。注意,这里如果是dp那就会做像素转换为dip5. float:浮点值。6. integer:整....
分类:
其他好文 时间:
2014-07-19 12:24:47
阅读次数:
227
Description
Black Box
Our Black Box represents a primitive database. It can save an integer array and has a special
i variable. At the initial moment Black Box is empty and...
分类:
其他好文 时间:
2014-07-19 12:06:45
阅读次数:
199
控制台读取输入数据import java.util.Scanner;public class HelloWorld{ public static void main(String args[]){ //int num = Integer.parseInt(args[0]); Scanner scan...
分类:
编程语言 时间:
2014-07-19 09:10:51
阅读次数:
199
Double 四舍五入保留小数:
/**
* @example roundUpNumber(20.47, 0) = 20.5, roundUpNumber(20.449, 1) = 20.45 * @description round up double number * @param Double d * @param Integer index * @return *...
分类:
其他好文 时间:
2014-07-19 08:08:55
阅读次数:
219
Fence RepairTime Limit: 2000 MS Memory Limit: 65536 KB64-bit integer IO format: %I64d , %I64u Java class name: Main[Submit] [Status] [Discuss]Descript...
分类:
其他好文 时间:
2014-07-19 00:20:15
阅读次数:
183
int iValue = new Integer(strValue).intValue();String str = intObj.toString();int number = Integer.parseInt(str);public static Object read(String value...
分类:
编程语言 时间:
2014-07-18 18:24:40
阅读次数:
300
Crashing RobotsTime Limit: 1000 MS Memory Limit: 65536 KB64-bit integer IO format: %I64d , %I64u Java class name: Main[Submit] [Status] [Discuss]Descr...
分类:
其他好文 时间:
2014-07-18 18:16:05
阅读次数:
308