码迷,mamicode.com
首页 >  
搜索关键字:mr wang wants some b    ( 9610个结果
Erlang高阶函数
对于函数式语言来说,函数也想普通的数据类型一样无处不在。函数即可以当成参数进行传递,也可以当成函数的返回值。当我第一次学习函数式编程的时候,我被这样的写法弄的头昏脑涨。下面我举例说明下(例子摘录自Learn You Some Erlang): 假如你想对一个列表中的所有值都进行加1或减1的操作...
分类:其他好文   时间:2014-06-25 21:50:31    阅读次数:244
Spark
0、参考自http://tech.uc.cn/?p=2116 http://www.csdn.net/article/2013-07-08/2816149 1、Spark是一个高效的分布式计算系统。它基于MapReduce(MR)算法实现分布式计算,但Job的中间输出和结果可以保存在内存,从...
分类:其他好文   时间:2014-06-24 11:32:46    阅读次数:268
swift 进阶笔记 (一) —— 可选型
swift定义可选型的时候,要用“?”,但是在swift的标准库中,可选型的定义是Optional,”?”只是个简写形式。 var myNum: Int? var myNum: Optional 两句等价 可以看出可选型是个泛型,而Optional又是个枚举,Optional可以是 None,也可以是Some(T): protocol Reflectable {...
分类:其他好文   时间:2014-06-22 22:20:27    阅读次数:259
UML实例--HELL_WORLD(六)
?? Artifacts 工件 “Hello, World!” is implemented as an applet, so it never stands alone but instead is typically a part of some Web page. The applet starts when its enclosing page is opened, trigge...
分类:其他好文   时间:2014-06-22 19:50:03    阅读次数:180
【dataStructure】 Arrays and Java Source Review
According to the order of data structure book, Arrays should be introduced in the frist time. When reviewing the some information related to arrays, I feel shocked that many useful classes and methods...
分类:编程语言   时间:2014-06-22 18:13:18    阅读次数:316
NYOJ 927 The partial sum problem 【DFS】+【剪枝】
The partial sum problem 时间限制:1000 ms  |  内存限制:65535 KB 难度:2 描述One day,Tom’s girlfriend give him an array A which contains N integers and asked him:Can you choose some integers from the N ...
分类:其他好文   时间:2014-06-22 18:00:48    阅读次数:166
【DataStructure】Some useful methods for arrays
Last night it took me about two hours to learn arrays. For the sake of less time, I did not put emphaises on the practice question, just now when reading the book, I found that some methods referred...
分类:其他好文   时间:2014-06-22 17:14:10    阅读次数:152
Eight Miracles In History
binansuo bat摩索拉斯陵墓埃及的金字塔god秦始皇陵兵马俑 xia shang zhou han qing qi jifa houyi yingzheng liubang(feng wang)秦始皇兵马俑3号坑介绍巴比伦空中花园阿尔忒弥斯月神庙亚历山大港灯塔爱琴海太阳神像shuntiany...
分类:其他好文   时间:2014-06-22 11:01:47    阅读次数:325
LeetCode——Reverse Integer
Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return -321 Have you thought about this? Here are some good questions to ask before coding. Bonus points for y...
分类:其他好文   时间:2014-06-22 09:31:16    阅读次数:220
The method Inflate() in android
Inflate() method can find out a layout defined by xml,as like the findViewById() method,but there have some different between them. The different are: If your Activity used other layout,such as...
分类:移动开发   时间:2014-06-22 06:41:43    阅读次数:362
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!