Given a collection of numbers, return all possible permutations.For example,[1,2,3]have the following permutations:[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,...
分类:
其他好文 时间:
2014-07-16 20:58:41
阅读次数:
173
MongoDB是一款NoSql数据库,使用了“面向集合”(Collection-Oriented)原理,意思是数据被分组存储在数据集中,被称为一个集合(Collection)。每一个集合(Collection)在数据库中都有一个唯一的标识名,而且能够包括无限数目的对象(BasicDBObject)。...
分类:
数据库 时间:
2014-07-16 20:57:02
阅读次数:
262
java 集合系列目录:Java 集合系列 01 总体框架Java 集合系列 02 Collection架构Java 集合系列 03 ArrayList详细介绍(源码解析)和使用示例Java 集合系列 04 LinkedList详细介绍(源码解析)和使用示例Java 集合系列 05 Vector详细...
分类:
编程语言 时间:
2014-07-16 20:45:00
阅读次数:
172
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each num...
分类:
其他好文 时间:
2014-07-16 19:53:49
阅读次数:
238
汇总记录了JDK中所有的标准Collection类,简单介绍了各自的特性,以备速查。...
分类:
编程语言 时间:
2014-07-13 17:24:19
阅读次数:
408
In the Java collection workframe, there are three similar methods, addAll(),retainAll() and removeAll(). addAll(), the retainAll(), and the removeAll()methods are equivalent to the set theoretic unio...
分类:
其他好文 时间:
2014-07-13 16:43:15
阅读次数:
268
类集(Collection)就是一个动态的对象数组,与...
分类:
编程语言 时间:
2014-07-13 16:12:09
阅读次数:
172
Collection├List│├LinkedList│├ArrayList│└Vector│ └Stack└SetMap├Hashtable├HashMap└WeakHashMapCollection接口 Collection是最基本的集合接口,一个Collection代表一组Object,即C....
分类:
其他好文 时间:
2014-07-13 12:59:24
阅读次数:
242
Collection主要的子接口:
List:可以存放重复内容Set:不能存放重复内容,所有重复的内容靠hashCode()和equals()两个方法区分Queue:队列接口SortedSet:可以对集合中的数据进行排序
List接口:
总结了List接口的扩展方法,即包含有增删改查方法.
List接口常用的子类:
ArrayList:可以...
分类:
其他好文 时间:
2014-07-12 19:26:08
阅读次数:
274
1,介绍Collection框架的结构..
框架的完整结构(Collection)
1.类集框架最大的接口:Collection、Map、Iterator、Enumeration
2.Collection:存放单值
|- List:允许有重复内容,有序
|- ArrayList:异步处理,新的操作类,非线程安全。
|- Ve...
分类:
其他好文 时间:
2014-07-10 19:44:59
阅读次数:
216