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
String field;@Testpublic void test01() { String a =
"aaa"; String b = "aaa"; String c = new String("aaa"); String d = new
String("aaa"); System.out.pr...
分类:
编程语言 时间:
2014-04-29 11:28:46
阅读次数:
391
创建FileWriter对象时的细节
有可能会产生编译时异常IOException和运行时异常FileNotFoundException 使用构造方法FileWriter(String
fileName)或FileWriter(File file)创建FileWriter对象时 指定文件不存在 --...
分类:
其他好文 时间:
2014-04-29 11:27:46
阅读次数:
646
/// /// 取文本左边内容 /// /// 文本 /// 标识符 /// 左边内容 public
static string GetLeft(string str, string s) ...
分类:
其他好文 时间:
2014-04-29 11:26:47
阅读次数:
362
public class Facade { /** * @param args 外观模式 */ One
one; Two two; Three three; public Facade() { one=new One(); two=new Two();
three=new Three()...
分类:
其他好文 时间:
2014-04-29 11:15:47
阅读次数:
238
引用http://linux.chinaitlab.com/soft/864157.html欢迎进入Linux社区论坛,与200万技术人员互动交流
>>进入 一、创建动态链接库1、创建工程new->project->c++ project选择Shared
Library->Empty Projec....
分类:
系统相关 时间:
2014-04-29 11:15:47
阅读次数:
559
@Html.ActionLink代码:HtmlHelper@Html.ActionLink("默认","Index")@Html.ActionLink("带控制器",
"Index", "RsvpForm")@Html.ActionLink("带默认路由参数", "Index", new {page...
分类:
Web程序 时间:
2014-04-29 11:13:46
阅读次数:
666
http://hi.baidu.com/mingyuejingque/item/78e71aff57ae9ec5a835a2e4感谢mingyuejingquest
= avformat_new_stream( m_oc, NULL); if (!st) { fprintf(stderr, ...
分类:
其他好文 时间:
2014-04-29 10:41:46
阅读次数:
441
项目里的朋友圈页面,每幅图片的评论内容里面,有不同的用户进行评论,起初想法是点击用户名直接进行回复,后来看微信都是点击评论内容进行回复评论的发起人,这个好做,把这个textview绑定一个监听器就ok了
后来再一想,如果要实现类似微信点击用户名就进入用户的主页,怎么让用户名可以点击呢?...
分类:
微信 时间:
2014-04-29 10:21:45
阅读次数:
735
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