码迷,mamicode.com
首页 >  
搜索关键字:article    ( 49864个结果
迭代器(Iterator)模式
转自:http://blog.csdn.net/lilu_leo/article/details/7609496概述 迭代器(Iterator)模式,又叫做游标(Cursor)模式。GOF给出的定义为:提供一种方法访问一个容器(container)对象中各个元素,而又不需暴露该对象的内部细节。在面....
分类:其他好文   时间:2015-01-09 16:49:30    阅读次数:152
自制多选功能相册
转载 http://blog.csdn.net/kingsley_cxz/article/details/9174729 自定义系统图片多选相册,类似于微信的在相册中选择多张照片的功能AssetGroupViewController,用于显示系统有多少个相册给用户选择AssetsViewContro...
分类:其他好文   时间:2015-01-09 16:48:37    阅读次数:222
转载--snprintf函数用法
作者:crfoxzl链接:http://blog.csdn.net/crfoxzl/article/details/2062139int snprintf(char *restrict buf, size_t n, const char * restrictformat, ...);函数说明:最多从...
分类:其他好文   时间:2015-01-09 15:28:53    阅读次数:155
zookeeper系列之七—从远程调用认识zookeeper
http://www.csdn.net/article/2014-01-02/2817944-zookeeper 在Hadoop的学习过程中,Zookeeper是让很多初学者困惑的技术,远程调用服务是一个很适合zookeeper应用的场景,这里从自己设计的远程调用服务架构谈起,详细介绍了Zookee...
分类:其他好文   时间:2015-01-09 12:25:34    阅读次数:115
good article————K’th Smallest/Largest Element in Unsorted Array | Set 2 (Expected Linear Time)
这是本人在研究leetcode中Median of Two Sorted Arrays一题目的时候看到一篇文章,觉得非常好,其中对快速排序重新实现。 文章来源于http://www.geeksforgeeks.org/这个网站。 We recommend to read following post as a prerequisite of this post. K’th Sma...
分类:其他好文   时间:2015-01-09 10:45:54    阅读次数:189
java静态类声明--java类可以声明为static吗
原文:http://www.javaworld.com/article/2077372/learn-java/static-class-declarations.html   为了理解static关键字在类声明中的使用,首先我们需要了解类声明。有两种类,一种是top-level class;一种是inner class。 Top-level class...
分类:编程语言   时间:2015-01-09 10:45:22    阅读次数:377
横竖屏事件响应(viewWillLayoutSubviews和通知)两种方式
转载:http://blog.csdn.net/nogodoss/article/details/17246489最近搞横竖屏,获得一些心得,特记录下来。做横竖屏最重要的是确定横竖屏响应的接口。目前我知道的有两种方式 :1.使用通知。 - (void)viewDidLoad{ [[NSNotif.....
分类:其他好文   时间:2015-01-09 10:42:07    阅读次数:107
[转载] 深入理解docker volume
原文: http://dockerone.com/article/128相对于程序包而言, 大量的数据文件的部署和管理(比如mysql数据库文件)是云平台领域不太容易解决的问题, 需要考虑非常多的因素, 比如网络带宽, 比如磁盘IO限速, 比如跨机房带宽控制等等. docker的volume概念, ...
分类:其他好文   时间:2015-01-09 10:36:41    阅读次数:141
URLDecoder: Incomplete trailing escape (%) pattern问题处理
http://blog.csdn.net/yangbobo1992/article/details/10076335________________________________________________________最近在用的项目中,分页页面在导出excel抛出java.lang.Ill...
分类:Web程序   时间:2015-01-09 10:33:02    阅读次数:835
[LeetCode]133 Clone Graph
https://oj.leetcode.com/problems/clone-graph/http://blog.csdn.net/linhuanmars/article/details/22715747/** *Definitionforundirectedgraph. *classUndirectedGraphNode{ *intlabel; *List<UndirectedGraphNode>neighbors; *UndirectedGraphNode(intx){label=x;neig..
分类:其他好文   时间:2015-01-09 01:53:41    阅读次数:170
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!