码迷,mamicode.com
首页 >  
搜索关键字:text1    ( 203个结果
NLTK笔记1
1、链表的连接 list1+list2 list1.append(“word”) 2、链表的索引 list[10] list.index(“word”)//链表的第一个”word”的位置 list.count(“word”) 3、频率分布 fdist1 = FreqDist(text1) dist= FreqDist(samples) 创建包含给定样本的频率分布 fdist.inc(sampl...
分类:其他好文   时间:2016-05-12 17:50:06    阅读次数:166
Jquery基础笔记
1、$(function(){ 等价于 window.onload=function(){ }) } 2、$("#Text1").val 获取ID号为Text1的值。 3、$("#Text1").is(":checked") ID号为text1的按钮是否被选中 4、addClass() 将指定的按钮 ...
分类:Web程序   时间:2016-05-06 23:04:01    阅读次数:209
窗体的keypreview属性的作用是什么?(设置快捷键和钩子)
如果把窗体的KeyPreview属性设为True,那么窗体将比其内的控件优先获得键盘事件的激活权。比如窗体Form1和其内的文本框Text1都准备响应KeyPress事件,那么以下代码将首先激活窗体的KeyPress事件:Private Sub Form_Load() Me.KeyPreview = ...
分类:Windows程序   时间:2016-05-05 22:17:11    阅读次数:270
每个程序员都会的 35 个 jQuery 小技巧
1.禁止右键点击$(document).ready(function(){$(document).bind("contextmenu",function(e){returnfalse;});});2.隐藏搜索文本框文字Hidewhenclickedinthesearchfield,thevalue.(examplecanbefoundbelowinthecommentfields)$(document).ready(function(){$("input.text1").val(..
分类:Web程序   时间:2016-04-22 16:50:34    阅读次数:210
内部类
什么是内部类? 在一个类(A)中嵌套着另一个类(B)那么B就是A的内部类; 1 public class Text1 { 2 String name; 3 public class text2{ 4 public void SetName(){ 5 name="123"; 6 ... ...
分类:其他好文   时间:2016-04-17 13:04:44    阅读次数:221
Linux下文件的基本操作
文件的基本操作 新建和删除文件夹 命令#mkdir /file 在当前目录创建file文件夹 命令#rmdir /file 删除当前目录下file文件夹 复制和移动文件 命令#cp text/file.txt /text1/file1.txt 将text目录下file.txt 复制到text1并更名 ...
分类:系统相关   时间:2016-03-30 22:16:30    阅读次数:216
软件测试作业2
package unit2; public class main { public static void main(String[] args) { // TODO Auto-generated method stub text1 t1 = new text1(); t1.run(); text2 ...
分类:其他好文   时间:2016-03-26 16:54:59    阅读次数:152
js scrollTop, 滚动条操作
<button onclick="text1.scrollTop=text1.scrollHeight">滚动</button><br> cache the xmlhttprequest instance, if you want to use setinterval or settimeout.
分类:Web程序   时间:2016-03-13 23:57:09    阅读次数:435
Chapter 8、集合类--- List集合、迭代器(9th,Mar.)
package org.hanqi.array; import java.util.*; public class Text1 { public static void main(String[] args) { // 创建List:指明数据类型,不需要指定大小 // <>表示泛型 List<Str
分类:其他好文   时间:2016-03-10 12:31:39    阅读次数:120
Shoucang3
package com.baidu.text1;import java.util.ArrayList;import com.baidu.adapter.MyAdapter;import com.bwie.vo.List;import com.lidroid.xutils.DbUtils;import...
分类:其他好文   时间:2016-01-25 16:44:53    阅读次数:126
203条   上一页 1 ... 10 11 12 13 14 ... 21 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!