上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 43 下一页
  2016年4月2日
摘要: 设计模式1——单例变形(多例) ★ 缓存在单例中的使用 缓存在编程中使用很频繁,有着非常重要的作用,它能够帮助程序实现以空间换取时间,通常被设计成整个应用程序所共享的一个空间,现要求实现一个用缓存存放单例对象的类。 说明:该缓存中可以存放多个该类对象,每个对象以一个key值标识,k... 阅读全文
posted @ 2016-04-02 19:21 cnxo 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 设计模式学习概述: ★ 为什么要学习设计模式 1、设计模式都是一些相对优秀的解决方案,很多问题都是典型的、有代表性的问题,学习设计模式,我们就不用自己从头来解决这些问题,相当于在巨人的肩膀上,复用这些方案即可。 2、设计模式已经成为专业人士的常用词汇,不懂不利于交流。 3、能让你设... 阅读全文
posted @ 2016-04-02 18:42 cnxo 阅读(296) 评论(0) 推荐(0) 编辑
  2016年4月1日
摘要: Problem Description Eddy’s interest is very extensive, recently he is interested in prime number. Eddy discover the all number owned can be d... 阅读全文
posted @ 2016-04-01 19:38 cnxo 阅读(1240) 评论(0) 推荐(0) 编辑
摘要: Problem Description The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single ... 阅读全文
posted @ 2016-04-01 16:57 cnxo 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Problem Description Ignatius was born in a leap year, so he want to know when he could hold his birthday party. Can you tell him?Given a posi... 阅读全文
posted @ 2016-04-01 16:35 cnxo 阅读(200) 评论(0) 推荐(0) 编辑
  2016年3月31日
摘要: Problem Description Ignatius drinks milk everyday, now he is in the supermarket and he wants to choose a bottle of milk. There are many kinds... 阅读全文
posted @ 2016-03-31 20:01 cnxo 阅读(324) 评论(0) 推荐(0) 编辑
摘要: Problem Description Given a positive integer N, you should output the most right digit of N^N.Input The input contains several test cases. Th... 阅读全文
posted @ 2016-03-31 18:29 cnxo 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Problem Description A number whose only prime factors are 2,3,5 or 7 is called a humble number. The sequence 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1... 阅读全文
posted @ 2016-03-31 13:08 cnxo 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 实现数据进行文件的存储和读写。 本软件也就到此结束了。 没多少可以讲的。 因为这个小软件也就8个类,主要学习的也就是一个分层思想的简单应用。package cn.hncu.addr.dao;import java.io.FileInputStream;import java.io.... 阅读全文
posted @ 2016-03-31 00:30 cnxo 阅读(441) 评论(0) 推荐(0) 编辑
摘要: 这个。。。没多少好解释的。。。 表现层的增删改查的具体实现类。package cn.hncu.addr.business;import javax.swing.JOptionPane;import cn.hncu.addr.dao.AddrDaoFile;import sun.se... 阅读全文
posted @ 2016-03-31 00:26 cnxo 阅读(237) 评论(0) 推荐(0) 编辑
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 43 下一页