1. [代码]js代码 /** MAP对象,实现MAP功能** 接口:* size() 获取MAP元素个数* isEmpty() 判断MAP是否为空* clear() 删除MAP所有元素* put(key, value) 向MAP中增加元素(key, value)* remove(ke...
分类:
编程语言 时间:
2014-07-09 00:27:03
阅读次数:
300
JavaScript向select下拉框中添加和删除元素
1、说明
a 利用append()方法向下拉框中添加元素
b 利用remove()方法移除下拉框中最后一个元素
2、设计源码
JavaScript向select下拉框中添加和删除元素
/**
* 向select下拉框中添加子元素
*/
function ad...
分类:
编程语言 时间:
2014-07-08 17:31:35
阅读次数:
286
[LeetCode]Remove Duplicates from Sorted Array...
分类:
其他好文 时间:
2014-07-08 16:07:52
阅读次数:
192
Write code to remove duplicates from an unsorted linked list.FOLLOW UPHow would you solve this problem if a temporary buffer is not allowed?/* Use a H...
分类:
其他好文 时间:
2014-07-08 00:59:05
阅读次数:
305
事件处理程序(handler):HTML事件处理程序: DOM2事件处理程序: add与remove的参数必须一样
分类:
Web程序 时间:
2014-07-07 08:14:25
阅读次数:
260
直接上代码吧#-*-coding:utf-8import osif os.path.exists('d:\\cpickle.data'): os.remove('d:\\cpickle.data')import cPickle as Pshoplist=['apple','banana','...
分类:
编程语言 时间:
2014-07-07 00:09:58
阅读次数:
475
Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It doesn't mat...
分类:
其他好文 时间:
2014-07-06 13:38:13
阅读次数:
168
importos#引处系统模块os.remove(filename)#删除这个文件,可以有路径。
分类:
编程语言 时间:
2014-07-04 06:01:28
阅读次数:
241
[LeetCode]Remove Duplicates from Sorted List...
分类:
其他好文 时间:
2014-07-03 16:00:08
阅读次数:
202
1.更换淘宝gem
gem sources --remove https...
分类:
其他好文 时间:
2014-07-03 13:24:56
阅读次数:
226