码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
sql 语句 插入结果为select 和值混合
String slctpsql="select id ,"+uid+","+ddd+","+score+",'"+mark+"' ,"+markid+" ,"+exam.getId()+" from Test_Paper where testBaseId=(select id from Test_Base where baseTestId="+judgemap.get(i).getId()+" a...
分类:数据库   时间:2014-05-15 20:36:45    阅读次数:434
提防toString递归问题
看这个代码: public class D { @Override public String toString() { return "obj:"+this; } public static void main(String[] args) { System.out.println(new D()); }...
分类:其他好文   时间:2014-05-15 20:18:38    阅读次数:277
UDP聊天室
实现的一个UDP聊天室...
分类:其他好文   时间:2014-05-15 19:31:19    阅读次数:306
leetcode Integer to Roman
把阿拉伯数字转换成罗马数字...
分类:其他好文   时间:2014-05-15 19:22:51    阅读次数:232
UNIX域协议
echocli.c #include #include #include #include #include #include #include #include #define ERR_EXIT(m)         do         {                 perror(m);                 exi...
分类:其他好文   时间:2014-05-15 18:10:50    阅读次数:240
信息写入记事本方法
/// /// 信息写入记事本 /// /// /// public static void Write(string text, string path) { try { DateTime newDat...
分类:其他好文   时间:2014-05-15 17:51:53    阅读次数:262
Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:其他好文   时间:2014-05-15 17:50:38    阅读次数:298
[LeetCode] [Add Binary 2012-04-02 ]
Given two binary strings, return their sum (also a binary string).For example, a = "11" b = "1" Return "100".string 的操作,短string补位。两个“0”会输出一个“00”,要特殊处理...
分类:其他好文   时间:2014-05-15 17:47:57    阅读次数:283
Java编程最差代码
字符串连接误用 错误的写法:String s = ""; for (Person p : persons) { s += ", " + p.getName(); } s = s.substring(2); //remove first comma 正确的写法:StringBuilde...
分类:编程语言   时间:2014-05-15 17:38:49    阅读次数:493
url 获取网络资源
public class Url { /** * @param args * @throws IOException */ public static void main(String[] args) throws IOException { ...
分类:其他好文   时间:2014-05-15 17:14:47    阅读次数:260
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!