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
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属性设为True,那么窗体将比其内的控件优先获得键盘事件的激活权。比如窗体Form1和其内的文本框Text1都准备响应KeyPress事件,那么以下代码将首先激活窗体的KeyPress事件:Private Sub Form_Load() Me.KeyPreview = ...
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
文件的基本操作 新建和删除文件夹 命令#mkdir /file 在当前目录创建file文件夹 命令#rmdir /file 删除当前目录下file文件夹 复制和移动文件 命令#cp text/file.txt /text1/file1.txt 将text目录下file.txt 复制到text1并更名 ...
分类:
系统相关 时间:
2016-03-30 22:16:30
阅读次数:
216
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
<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
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
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