-
BankSystem
说明: 更新银行系统(BankSystem),模拟实现3个用户对统一账号进行存入、取出、转账等操作
CustomerGenerator线程:随机生成办理业务的顾客以及其操作类型、金额等
Cashier线程:从等待队列中抽取第一个顾客并为其办理业务
多线程:ArrayBlockingQueue<Customer>数组阻塞队列
文件列表:
BankSystem.java
Cashier.java
Customer.java
CustomerGenerator.java
CustomerLine.java(BankSystem
ArrayBlockingQueue<Customer>)
- 2020-07-15 17:08:50下载
- 积分:1
-
ListIterator
An ListIterator is used to sequence over a List of objects. ListIterator can move backwards or forwards through the list.
- 2014-02-18 14:50:58下载
- 积分:1
-
graphics
实验一:类与对象实验: 几何图形类的设计
实验目的:掌握用类进行面向对象程序设计的方法,掌握使用对象作为类的成员变量,掌握方法的参数传递,掌握静态域和静态方法。
实验内容:编写4个类:Rectangle、Circle、Geometry、Exa,具体要求如下:
① Rectangle类有double型成员变量表示矩形左上角的位置坐标及矩形的宽和高,要求提供修改和返回各成员变量的方法。
② Circle类有double型成员变量表示圆心坐标和圆的半径,要求提供修改和返回各成员变量的方法。
③ Geometry类有Rectangle类和Circle型的成员变量rect和circle。即Geometry类创建的对象由一个矩形和一个圆组合而成。要求该类提供修改rect、circle位置和大小的方法;提供显示rect和circle位置关系的方法,并能够显示圆是否完全坐落于矩形中。
④ 要求能对创建的Rectangle类和Circle类对象数目进行统计。
Exa类含有main方法,在main方法中用Geometry类创建对象,该对象调用相应的方法
设置圆和矩形的位置及大小并输出圆是否包含在矩形中。输出当前Rectangle和Circle
对象数目。
(test one)
- 2014-05-05 08:37:25下载
- 积分:1
-
OAPro
非常完善的OA(办公管理系统)开发环境:Visual Studio .NET 2005 + Server2005运用HTML/JavaScript/CSS技术实现标准、规范的客户端静态和动态效果(failed to translate)
- 2012-02-17 17:26:00下载
- 积分:1
-
Join方法
实现java的join方法,对java的高级编程进行了解(Realize the join method of Java and understand the advanced programming of Java)
- 2018-12-18 20:44:18下载
- 积分:1
-
softhy647g
电影频道小偷程序联盟后台版 可以实现在后台下载电影(NUll)
- 2009-03-31 09:54:37下载
- 积分:1
-
NBTree
JAVA的一个程序,是分类算法中的判定树的一部分。(JAVA a process, the classification algorithm of decision tree part.)
- 2007-04-03 17:43:19下载
- 积分:1
-
multiThread_Runnable
一个非常简单的多线程程序:三个线程随机产生26个英文字母,可以随时暂停线程并继续。用Java的implements Runnable()实现的多线程,当然您也可以用extends Thread class去实现多线程!代码的每一步都有详细的注释便于大家进一步了解多线程功能!(A simple multiple Thread program which based on implementing Runnable interface, you can use extends Thread class as well.)
- 2012-11-13 12:08:30下载
- 积分:1
-
mscurl
可用来抓取美国晨星上的美股的市场。配置完需要的美股名,程序会自动查询美股所在的市场,然后抓取。带所有的需要的库,导入eclipse就可以用。(Can be used to grab market stocks on the American Morningstar. Stocks finished configuring the required name, the program will automatically check stocks where the market, then crawl. With all the required libraries, import eclipse can be used.)
- 2014-09-11 16:29:24下载
- 积分:1
-
net-master
网络嗅探器的设计与实现: 基本要求捕获本网段的数据包,将报文结构显示出来.进一步要求进行数据包协议分析,可以按报头进行统计,提取部分关键信息,如捕获登陆信息,破解登陆密码等.(Design and implementation of network sniffer: General requirements capture packet network segment, the packet structure is displayed further requested packet protocol analysis, statistical header by extracting some of the key information, such as the capture login information. crack login password.)
- 2020-12-24 13:39:07下载
- 积分:1