码迷,mamicode.com
首页 >  
搜索关键字:integer    ( 14932个结果
yii redirect
redirect 这个方法是在 CController 里定义的先来看下官方介绍redirect()方法public voidredirect(mixed $url, boolean $terminate=true, integer $statusCode=302)$urlmixedthe URL ...
分类:其他好文   时间:2014-07-19 17:38:39    阅读次数:219
常用Java片段
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
poj1573模拟
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
attrs.xml中declare-styleable 详解(用于自定义控件的属性)
1. 框架定义: 2. color:颜色值,指定这个属性必须输入的是颜色值3. boolean:布尔值,指定这个属性必须输入的是boolean类型(true/false)4. dimension:尺寸值。注意,这里如果是dp那就会做像素转换为dip5. float:浮点值。6. integer:整....
分类:其他好文   时间:2014-07-19 12:24:47    阅读次数:227
UVA - 501 Black Box (优先队列或vector)
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
java基础
控制台读取输入数据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 四舍五入保留小数
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
poj3253哈夫曼树
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
Java 数据类型转换
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
poj2632 模拟
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!