码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
struts2之模型驱动2
1 模型驱动 表单文本框的name值为action model实例名点属性名 User类(model): package org.model; public class User {     private String name;     private String password;     public String getPassword() {         r...
分类:其他好文   时间:2015-01-28 11:09:05    阅读次数:126
Delphi For Android 开发笔记 2 NEXTGEN下的字符串类型
delphi开发速度迅捷至少有30%(猜的,呵呵)的原因是因为其字符串(string、WideString、PChar、PAnsiChar等)处理能力。而从delphi XE4开始,在system等单元中,出现了一个叫 NEXTGEN 的编译条件,这条件是在进行移动开发时自动定义的,而传统桌面开发时...
分类:移动开发   时间:2015-01-28 11:07:14    阅读次数:352
PHP返回JSON和XML类
1 null); 4 /** 5 * @desc 返回JSON格式 6 * @param int $code 7 * @param string $message 8 * @param array $da...
分类:Web程序   时间:2015-01-28 11:05:56    阅读次数:147
jdbc数据库连接
/*************************************测试中使用使用临时数据源代码************************************************/ String url = "jdbc:mysql://localhost:3306/test" ; String username = "root" ; String pas...
分类:数据库   时间:2015-01-28 09:54:24    阅读次数:257
struts2之模型驱动
1 模型驱动 表单文本框的name值为action model实例名点属性名 User类(model): package org.model; public class User {     private String name;     private String password;     public String getPassword() {         r...
分类:其他好文   时间:2015-01-28 09:53:12    阅读次数:117
JAVA实现多线程断点下载
public class jions { public static int runnling=3; public static int threadcount=3; public static void main(String[]args) throws Exception{ String path="http://down9.869v.com/setup_445...
分类:编程语言   时间:2015-01-28 09:47:27    阅读次数:202
leetcode.8---------------String to Integer (atoi)
Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input ca...
分类:其他好文   时间:2015-01-28 09:46:19    阅读次数:208
8. String to Integer (atoi) Leetcode Python
Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input ca...
分类:编程语言   时间:2015-01-28 09:46:05    阅读次数:231
Struts 1 之<logic>标签库
1. logic:empty logic:empty标签是用来判断是否为空的。如果为空,该标签体中嵌入的内容就会被处理。该标签用于以下情况: 当Java对象为null时 当String对象为""时 当java.util.Collection对象中的isEmpty()返回true时 当java.util.Map对象中的isEmpty()返回true时 下面的代码示例了logic...
分类:其他好文   时间:2015-01-28 09:43:05    阅读次数:183
leetcode_8_String to Integer (atoi)
思路是很简洁的,但正负号,空格包括中间和字符串的开始和结尾的字符,字符串溢出,整数表示的最大数和负数能表示的最小数。。。。 编程让人变的更加严谨,目测还有很大的提升空间。...
分类:其他好文   时间:2015-01-28 09:42:40    阅读次数:159
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!