//要监听的EditText对象private EditText
mEditText;//添加监听事件mEditText.addTextChangedListener( new TextWatcher() { private
CharSequence temp; private int star.....
分类:
其他好文 时间:
2014-05-26 20:32:14
阅读次数:
220
(?)[^Trait:.*?Nature[^(?:-[^){1,4}new
Regex("(?)[^Trait:.*?Nature[^(?:-[^){1,4}", RegexOptions.IgnoreCase)
分类:
其他好文 时间:
2014-05-26 20:16:31
阅读次数:
183
线程同步:用来协调多个线程访问同一资源 /* * 线程同步的例子 * */public class
Test { public static void main(String[] args) { //创建两个线程并执行同一条语句 Run r=new
Run(); Thread t1=new Thre...
分类:
编程语言 时间:
2014-05-26 20:05:26
阅读次数:
358
public ActionResult Index(int? pageIndex) { List
data = new List(); for (int i = 0; i pagedList = new PagedList(data.As...
分类:
Web程序 时间:
2014-05-26 19:52:39
阅读次数:
279
1jsp页面显示乱码将jsp页面首行的1
中的字符集charset改为“GB18030”或“GB2312”2jsp页面传输乱码在获取参数的jsp页面将获取到的值进行相应的转码如:1 String
name=request.getParameter("name");2 name=new String....
分类:
其他好文 时间:
2014-05-26 19:40:08
阅读次数:
261
document对象作为HTMLDocument的一个实例,它还有一些标准的Document对象所没有的属性,这些属性提供了网页上的一些信息
//取得文档标题var title1=document.title; //修改文档标题document.title="New page title"; ...
分类:
编程语言 时间:
2014-05-26 19:16:16
阅读次数:
277
将flash嵌入WPF页面://添加加载flash的控件 // 创建 host 对象
System.Windows.Forms.Integration.WindowsFormsHost host = new
System.Windows.Forms.Integration.WindowsFormsH...
分类:
其他好文 时间:
2014-05-26 19:10:54
阅读次数:
271
Use bigger datasets for CNN in hope of better
performance. A new data set for sports video classification: sports-1M.CNN in
one frame is about the sam...
分类:
Web程序 时间:
2014-05-26 19:10:33
阅读次数:
597
1. New DeclarationIn HTML 4.01, the declaration
refers to a DTD, because HTML 4.01 was based on SGML. The DTD specifies the
rules for the markup lang....
分类:
Web程序 时间:
2014-05-26 18:45:04
阅读次数:
282
昨天:通过对Android通讯录视频的学习,掌握了其中的显示图像选择框(1、2、3、4)以及保存用户信息(1、2、3、4)的知识,为后续的开发奠定了基础。今天:利用前几天学习的知识实现铁大助手中图片切换的功能。困难:图片的大小没能调整到最合适的大小,很遗憾。。。
分类:
其他好文 时间:
2014-05-26 18:36:44
阅读次数:
236