2016年5月17日

JDK1.8 源码 中的设计模式

摘要: 原文地址: "http://blog.csdn.net/ymrfzr/article/details/51439673" 1. 迭代器与组合模式(Iterator) 1.1 Collection.iterator() 集合(Collection)指的是一群对象,其存储方式可以是各式各样的数据结构。 阅读全文

posted @ 2016-05-17 22:03 rsyy 阅读(387) 评论(0) 推荐(1)

JDK1.8源码中的设计模式

摘要: 原文地址:http://blog.csdn.net/ymrfzr/article/details/51439673 ##**1. 迭代器与组合模式(Iterator)**###**1.1 Collection.iterator()**集合(Collection)指的是一群对象,其存储方式可以是各式各 阅读全文

posted @ 2016-05-17 21:56 rsyy 阅读(251) 评论(2) 推荐(0)

2013年6月5日

codeforces 6C - Alice, Bob and Chocolate

摘要: 从两端模拟向中间靠拢#include <stdlib.h>#include <string.h>#include <stdio.h>#include <ctype.h>#include <math.h>#include <stack>#include <queue>#include <map>#include <set>#include <vector>#include <string>#include <iostream>#include <a 阅读全文

posted @ 2013-06-05 07:13 rsyy 阅读(186) 评论(0) 推荐(0)

2013年6月4日

codeforces 291-A. Spyke Talks

摘要: 判断公司内两两聊天的人有多少对,注意不聊天的以及和公司以外的人聊天的人#include <stdlib.h>#include <string.h>#include <stdio.h>#include <ctype.h>#include <math.h>#include <stack>#include <queue>#include <map>#include <set>#include <vector>#include <string>#include <i 阅读全文

posted @ 2013-06-04 23:39 rsyy 阅读(238) 评论(0) 推荐(0)

2013年6月3日

codeforces 302B - Eugeny and Play List

摘要: 二分查找。。。#include <stdlib.h>#include <string.h>#include <stdio.h>#include <ctype.h>#include <math.h>#include <stack>#include <queue>#include <map>#include <set>#include <vector>#include <string>#include <iostream>#include <algo 阅读全文

posted @ 2013-06-03 07:14 rsyy 阅读(251) 评论(0) 推荐(0)

2013年6月2日

codeforces 12A - Super Agent

摘要: 判断中心对称#include <stdlib.h>#include <string.h>#include <stdio.h>#include <ctype.h>#include <math.h>#include <stack>#include <queue>#include <map>#include <set>#include <vector>#include <string>#include <iostream>#include <algor 阅读全文

posted @ 2013-06-02 22:59 rsyy 阅读(160) 评论(0) 推荐(0)

2013年5月26日

我的新博客

摘要: 新博客终于通过审核了,这一段csdn总是挂掉,希望这个会稳定一些,算是备用的吧 阅读全文

posted @ 2013-05-26 16:31 rsyy 阅读(172) 评论(0) 推荐(0)

导航