目标:降低研发人员门槛,提高效率,去除重复引用DLL的工作,基础配置由抽象工厂处理。基础扩展/// /// DataTable 转换为List 集合///
/// 类型/// DataTable/// public static List ToList(this DataTable dt) wher...
分类:
其他好文 时间:
2014-04-30 21:27:46
阅读次数:
508
1 package com.kite.pi; 2 3 import java.util.List; 4
5 import org.jbpm.api.Configuration; 6 import org.jbpm.api.ProcessInstance; 7
import org...
分类:
其他好文 时间:
2014-04-30 20:38:40
阅读次数:
514
package mars.listview;import
java.util.ArrayList;import java.util.HashMap;import
android.app.ListActivity;import android.os.Bundle;import android.view...
分类:
其他好文 时间:
2014-04-30 20:23:44
阅读次数:
474
String[] strs = {"string--01", "string--02",
"string--03", "string--04"};List strsList =
Arrays.asList(strs);//以下语句输出:[string--01, string--02, string-...
分类:
其他好文 时间:
2014-04-29 11:33:45
阅读次数:
345
一、linux 命令 0.man:查询使用手册1.pwd:Print the full
filename of the current working directory. 打印当前工作目录(文件夹)2.ls:List information
about the FILEs (the current...
分类:
编程语言 时间:
2014-04-29 11:31:46
阅读次数:
489
/// /// 取文本左边内容 /// /// 文本 /// 标识符 /// 左边内容 public
static string GetLeft(string str, string s) ...
分类:
其他好文 时间:
2014-04-29 11:26:47
阅读次数:
362
最近学习java字符串部分,用正则表达式做了一个简单的统计单词出现次数的小程序,目前只能统计英文。整个程序包括三个包,分别为output,run,wordcountwordCount包执行单词统计逻辑的工具包,使用HashMap存储某个字符串出现的次数。setPattern用来在类外部设置不同的正则...
分类:
编程语言 时间:
2014-04-29 10:38:46
阅读次数:
594
List的几个方法List=>List.Find()List.FindAll()List.Contains()
List.ForEach()List.ConvertAll() 1. 先比较Find()跟FindAll()。 这个两个函数都是 遍历List的集合,只是
区别在于FindAll()返回的...
分类:
Web程序 时间:
2014-04-29 10:32:46
阅读次数:
443
1、***Cmd上面的@APICommand里的responseObject关联对于的Response;2、在tomcatconf/command.properties.in添加新API的权限;3、为得到Cmd,都需要实现PluggableService接口的getCommands()方法,核心Cm...
Dictionarydic=lst.ToDictionary(newFunc(c=>c.Id),newFunc(c=>c.Num));//如果觉得上面的写法太复杂,还可以简化为//Dictionary
dic = lst.ToDictionary(c => c.Id, c => c.Num...
分类:
其他好文 时间:
2014-04-29 10:18:46
阅读次数:
339