上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 43 下一页
  2016年3月31日
摘要: 查找模块: 年龄可进行段查找。 其他的都是模糊匹配。 空格为无用字符,会屏蔽的(除年龄)。 (如果在年龄中输入空格,会出现异常,当时没想到这点,要防护这点很容易的,但因为在这个小软件的编写过程,我主要学的是java项目开发的分层思想,软件可能bug比较多,望见谅。)/* * Que... 阅读全文
posted @ 2016-03-31 00:24 cnxo 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 删除地址的表现层类。 如果没有选中要删除的地址信息,会出现窗口提示: 删除地址界面:(无法修改数据,只能看) /* * DeletePanel.java * */package cn.hncu.addr.ui;import javax.swing.JFrame;import jav... 阅读全文
posted @ 2016-03-31 00:17 cnxo 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 修改地址信息的一个表现层类。 必须选中地址,才能修改,否则会弹出窗口提示, 修改地址界面: /* * UpdatePanel.java * */package cn.hncu.addr.ui;import javax.swing.JFrame;import javax.swing.... 阅读全文
posted @ 2016-03-31 00:13 cnxo 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 添加地址信息界面。年龄和地址必须是数字,否则会弹出窗口提示。 地址信息不能为空。 /* * AddPanel.java * * Created on __DATE__, __TIME__ */package cn.hncu.addr.ui;import javax.swing.JF... 阅读全文
posted @ 2016-03-31 00:07 cnxo 阅读(548) 评论(0) 推荐(0) 编辑
摘要: 这个是表现层的主界面。 /* * ListPanel.java * */package cn.hncu.addr.ui;import javax.swing.JFrame;import javax.swing.JLabel;import javax.swing.JList;impo... 阅读全文
posted @ 2016-03-31 00:01 cnxo 阅读(349) 评论(0) 推荐(0) 编辑
  2016年3月30日
摘要: 这个是表现层的main方法。 实现的地址信息有: 姓名,性别,年龄,电话,地址。 实现的功能有: 增加地址; 删除地址; 修改地址; 查找地址:其中年龄的查找为年龄段的查找。数据存储的方式为文件存储和读写。分层的思想是:表现层调用逻辑层,逻辑层调用数据层。不可以反过来每个class... 阅读全文
posted @ 2016-03-30 23:45 cnxo 阅读(325) 评论(0) 推荐(0) 编辑
  2016年3月28日
摘要: Problem Description How far can you make a stack of cards overhang a table? If you have one card, you can create a maximum overhang of half a... 阅读全文
posted @ 2016-03-28 21:19 cnxo 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Problem Description Julius Caesar lived in a time of danger and intrigue. The hardest situation Caesar ever faced was keeping himself alive. ... 阅读全文
posted @ 2016-03-28 16:43 cnxo 阅读(200) 评论(0) 推荐(0) 编辑
  2016年3月27日
摘要: Problem Description “Well, it seems the first problem is too easy. I will let you know how foolish you are later.” feng5166 says.“The second ... 阅读全文
posted @ 2016-03-27 12:30 cnxo 阅读(90) 评论(0) 推荐(0) 编辑
  2016年3月25日
摘要: Problem Description Calculate S(n).S(n)=1^3+2^3 +3^3 +……+n^3 .Input Each line will contain one integer N(1 < n < 1000000000). Process to end ... 阅读全文
posted @ 2016-03-25 15:53 cnxo 阅读(115) 评论(0) 推荐(0) 编辑
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 43 下一页