码迷,mamicode.com
首页 >  
搜索关键字:collection    ( 6338个结果
【leetcode刷提笔记】Permutations
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数据库】MongoDB 命令入门初探
MongoDB是一款NoSql数据库,使用了“面向集合”(Collection-Oriented)原理,意思是数据被分组存储在数据集中,被称为一个集合(Collection)。每一个集合(Collection)在数据库中都有一个唯一的标识名,而且能够包括无限数目的对象(BasicDBObject)。...
分类:数据库   时间:2014-07-16 20:57:02    阅读次数:262
Java 集合系列 11 hashmap 和 hashtable 的区别
java 集合系列目录:Java 集合系列 01 总体框架Java 集合系列 02 Collection架构Java 集合系列 03 ArrayList详细介绍(源码解析)和使用示例Java 集合系列 04 LinkedList详细介绍(源码解析)和使用示例Java 集合系列 05 Vector详细...
分类:编程语言   时间:2014-07-16 20:45:00    阅读次数:172
LeetCode: Combination Sum II
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
Collection子接口(List/Set/Queue/SortedSet)
Collection主要的子接口: List:可以存放重复内容Set:不能存放重复内容,所有重复的内容靠hashCode()和equals()两个方法区分Queue:队列接口SortedSet:可以对集合中的数据进行排序 List接口: 总结了List接口的扩展方法,即包含有增删改查方法. List接口常用的子类: ArrayList:可以...
分类:其他好文   时间:2014-07-12 19:26:08    阅读次数:274
Permutations java实现
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-12 12:56:52    阅读次数:206
[LeetCode] Combination Sum II
Combination Sum IIGiven a collection of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sum...
分类:其他好文   时间:2014-07-11 08:41:13    阅读次数:156
VO对象通过groovy模板映射XML文件
最近研究了一个开源工具包org.codehaus.groovy,处理VO对象和XML文件的映射方便。简言之:将VO对象中的属性(包括Collection, Map),通过groovy模板文件,映射XML文件。...
分类:其他好文   时间:2014-07-10 22:48:20    阅读次数:391
IT form 整理4(集合方面)
1,介绍Collection框架的结构.. 框架的完整结构(Collection) 1.类集框架最大的接口:Collection、Map、Iterator、Enumeration 2.Collection:存放单值    |- List:允许有重复内容,有序        |- ArrayList:异步处理,新的操作类,非线程安全。        |- Ve...
分类:其他好文   时间:2014-07-10 19:44:59    阅读次数:216
面向对象的勾勾画画
1、面向对象中只有两样东西:类,对象。前者是“虚”,只有被实例化了,才是我们需要的“实”。 2、面向对象中的任何东西的表现形式,归根结底都是通过“类”表现出来的(接口也是一种类)。 3、定义类的同时就是在“封装”,只是封装的好坏不同;在不断的抽象,实现/继承的过程中,就是多态的体现; 4、Collection不要翻译成“集合”,就是Collection。有些东西翻译过来后悔影响理解。从本身属性的角度来说Collection包含:list,map,set ,容器;不要让“list=集合”存在脑中。...
分类:其他好文   时间:2014-07-09 09:46:28    阅读次数:222
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!