定义 迭代器模式(Iterator
Pattern)提供一种方法访问一个容器对象中各个元素,而又不需暴露该对象内部细节。 迭代器模式通用类图 Iterator抽象迭代器
抽象迭代器负责定义访问和遍历元素的接口,而且基本上是有固定的3个方法:First()获取第一个元素,Next()访问下一个元素,I...
分类:
其他好文 时间:
2014-06-09 20:55:24
阅读次数:
316
【Project Browser】 You can drag items from the
project structure list to the Favourites and also save search queries there. The
filters work by add...
分类:
其他好文 时间:
2014-06-09 15:25:46
阅读次数:
282
You know as a beginner to learn WCF, the first
thing is to make a simplest WCF service work like a classic "Hello World"
console application. Now I wi...
Meditation“Stop!!!”don’t we just scream【vi.
尖叫;呼啸;发出尖锐刺耳的声音;令人触目惊心】 this in our minds when the day has been very bad and all
we think about is “work, ...
分类:
其他好文 时间:
2014-06-09 14:12:01
阅读次数:
456
这段时间组里在有计划地学习书籍PRML (Pattern Recognition and
Machine Learning),前两天自己做了一个里面第三章linear regression的分享,这里把当时做的这个ppt分享给大家。
对于线性回归这一章,首先列一下我认为比较重要的几个问题(ppt ....
分类:
其他好文 时间:
2014-06-09 13:19:17
阅读次数:
418
1.一种并行计算的多线程编程模型2.开始--任务分割--多线程异步执行---任务合并--阻塞等待合并结果。(分治算法)3.work-stealing算法:
每个线程维护一个各自的双端的链表,有新任务时之间插入的前端优先执行,前端无任务时,窃取其他线程双端链表的任务加入到自己的尾端进行处理。 通常.....
分类:
其他好文 时间:
2014-06-08 21:28:47
阅读次数:
357
今天看了看观察者模式,有点小小的体会,从以下3点说明之
:1.看一下经典的观察者模式图2.讲个故事,说一下逻辑有一个男人(Subject),他通过一定的手段(attach)拥有了3个女人(Observer):老婆(concreteObserver1),情人(concreteObserver2),小3...
分类:
其他好文 时间:
2014-06-08 21:10:38
阅读次数:
293
WTDelegate#import @protocol WTDelegate @required-
(void)sleep;- (void)eat;- (void)work;@endWTPhilosopher.h#import #import
"WTDelegate.h"@interface WTP...
分类:
移动开发 时间:
2014-06-08 20:57:13
阅读次数:
316
1 选择Uboot版本
2 移植uboot到console能够正常work
3 制作uImage并使用uboot引导
4 写NFC驱动
5 uboot从nand上引导系统启动
1 选择Uboot版本
正所谓“工欲善其事,必先利其器”,如果在整个过程中能够有一套友好的软硬件开发环境整个过程就比较顺利了。戳中痛点……
对于选择Uboot的版本,一般人都会选择最新版本。但是新版本必然会...
分类:
其他好文 时间:
2014-06-08 03:21:09
阅读次数:
676
Implement wildcard pattern matching with support for '?' and '*'.public class Solution {
public boolean isMatch(String s, String p) {
if (s == null || p == null) return false;
if (...
分类:
编程语言 时间:
2014-06-08 03:10:46
阅读次数:
216