码迷,mamicode.com
首页 >  
搜索关键字:Hashtable    ( 2161个结果
将Object转换成Dictionary方法
如果Object是Dictionary类型,直接返回如果Object是NameValueCollection类型,则添加到Dictionary里如果Object是Hashtable类型,添加到Dictionary里...其他键值类型请自己完善如果Object非上述类型,则用IL语言将其转换成Dict...
分类:其他好文   时间:2015-03-30 18:20:16    阅读次数:205
限制帐号同时两处以上登录-ASP.NET
///登录页面Hashtable haol = (Hashtable)Application["olTable"]; if (haol == null) { haol = new Hashtable()...
分类:Web程序   时间:2015-03-30 16:19:38    阅读次数:133
ConurrentHashMap和Hashtable的区别
集合类是Java API的核心,但是我觉得要用好它们是一种艺术。我总结了一些个人的经验,譬如使用ArrayList能够提高性能,而不再需要过时的Vector了,等等。JDK 1.5引入了一些好用的并发集合类,它们对于大型的、要求低延迟的电子商务系统来说非常的有用。这篇文章中将会看看ConcurrentHashMap和Hashtable之间的区别。 这篇文章是HashMap的工作原理以及HashM...
分类:其他好文   时间:2015-03-30 11:25:00    阅读次数:121
leetcode4 ---Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3. Fo...
分类:其他好文   时间:2015-03-22 10:40:52    阅读次数:321
multi thread for Java
I try to do a testing for HashTable Sychronized behavior today.As an Sychronized Object, HashTable already an Sychronized at put and get function. I w...
分类:编程语言   时间:2015-03-22 06:53:36    阅读次数:150
ArrayList,Vector,HashMap,HashSet,HashTable之间的区别与联系
看上面的框架图,先抓住它的主干,即Collection和Map。1 Collection是一个接口,是高度抽象出来的集合,它包含了集合的基本操作和属性。 Collection包含了List和Set两大分支。 (01) List是一个有序的队列,每一个元素都有它的索引。第一个元素的索引值是0。 ...
分类:其他好文   时间:2015-03-22 00:15:59    阅读次数:386
【LeetCode】Repeated DNA Sequences 解题报告
【题目】 All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: "ACGAATTCCG". When studying DNA, it is sometimes useful to identify repeated sequences within the D...
分类:其他好文   时间:2015-03-20 12:56:36    阅读次数:149
LeetCode – Refresh – Letter Combination of a Phone Number
This is just a combination. Use hashtable to hold the number ==> charsnotes:1. check corner case : input is empty, do not return vector contains empty...
分类:其他好文   时间:2015-03-20 08:03:21    阅读次数:127
LeetCode – Refresh – Copy List with Random Pointer
Two methods for doing this problem:1. With extra memory, using hashtable:I made a mistake for mapping[runner->random] = mapping[runner]->random. Then ...
分类:其他好文   时间:2015-03-19 07:44:36    阅读次数:132
java集合
集合类说明及区别Collection├List│├LinkedList│├ArrayList│└Vector│ └Stack└SetMap├Hashtable├HashMap└WeakHashMapCollection接口 Collection是最基本的集合接口,一个Collection代表一组O....
分类:编程语言   时间:2015-03-19 07:43:00    阅读次数:211
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!