搜索资源列表
Example
- 利用java 模拟多线程 notify() ,wait(),notifyAll(), 通过买票的实例来模拟。 -The use of multi-threaded java simulation notify (), wait (), notifyAll (), through to simulate an example of vote-buying.
src
- 通过买票这个简实例来介绍java线程的一些应用-Brief examples of the adoption of vote-buying in this thread to introduce some applications of java
ArrayQueue
- Java队列 队列是一种“FIFO”先进先出的数据结构.可以想象每年在火车站中买票的人群所组成的"队列"。 |队员1 队员2 队员3 队员3 队员4 队员5 队员6 队员7 队员8| ^ ^ 想象两个指针-Java Queue Queue is a " FIFO" First In First Out data structure. Imagine a year of people buy tickets at the station formed in a " q
Java-AnalogTicketSalesSystem
- 模拟车票销售系统,实现多网点买票和买票功能-Analog ticket sales system, buying tickets and buying multi-function network
Task8_3
- Java中线程的应用 8-3 编写3个线程使他们有更多的共享单元 8-4 设计5人排队买票,并规定买票规则和排队顺序-Java application thread in the preparation of three threads so that they have more shared cell
train1
- 火车售票系统 在线买票,查询余票等功能内涵源代码-The train tickets, inquires online ticketing system functions such as more source code. Connotation ticket
threads-queue-for-tickets
- 能有效地解决排队买票的线程问题,具有高效性。-Can effectively solve the problem of threads queue up for tickets, with high efficiency.
Thread
- Java中线程控制和同步以及线程的例子:买票,生产和消费问题。-thread in Java
buy
- 模拟五个人排队买票,每人买1张票。售票员有1张20元和1张5元的钱,电影票一张5元。 排队从头到尾的顺序是:关五十、林二十、余五、李十、杨五 最后的买票顺序是:余五、李十、林二十、关五十、杨五-Simulation five people lined up to buy tickets, people to buy a ticket. The conductor have 1 twenties and 1 piece of 5 yuan of money, the movie tickets a
DongTai
- 实现程序模拟简单的火车售票的情况。 火车票分为硬座和卧铺,车票还有普通票和学生票。有基类:ticker,子类:hardseat, sleeper。有孙类:normal, extra。hardseat, sleeper继承了ticker,而normal, extra分别都继承了hardseat和sleeper。 火车票上有起点站和终点站,时间,座位,价格。 顾客可以根据起点站和终点站查找所需的信息,可以买票。 管理人员可以增加,删除数据。可以把写入一个数据,查找一个数据,或删除一个
testproject
- Java买票程序实现,利用线程来实现,双线程,可以使人更好的理解。-Java buy ticket
Subway
- 实现的地铁系统,按照上海地铁规则设计的。可以进行简单的买票,查询等-implement a subway system
java-soursecode
- 有三个人在买票,但售票员只有三张五块的,实现三个人都能买到票,且找到应找的钱-Three people buy a ticket, but the conductor only three five three people can buy tickets and find the money you should be looking for
queuing-ticket
- concurrent的排队售票模拟 这个是固定人数的,可以加一个线程专门用来往等待人员的队列中加人,这样就可以模拟不特定人数的场景了。当然,买票线程就不能通过判断人数来停止了-concurrent simulation of queuing ticket
Multithreading
- 这是java实验中的多线程,这次实践的目的是 了解线程调度机制、理解线程同步机制。其中有一个排队买票的源代码可供参考-This is a multithreaded java experiment, the purpose of this practice is to understand thread scheduling mechanism, understand thread synchronization mechanism. Source code for which there i
thread
- 编写一个Java应用程序,模拟5个人排队买票。售票员只有1张五元的钱,电影票五元一张。假设5个人的名字及排队顺序:赵、钱、孙、李、周。“赵”拿一张二十元的人民币买2张票,“钱”拿1张二十元的人民币1张票,“孙”拿1张十元的人民币买1张票,“李”拿1张十元的人民币买2张票,“周”拿1张五元的人民币买1张票,要求售票员按如下规则找赎: 二十元买2张票,找零:找1张十元;不许找2张五元 二十元买1张票,找零:找1张十元,1张五元;不许找3张五元 十元买1张票,找零:找1张五元 -
3G
- 具体没有实现,是源代码。登陆,买票,查看网点,提交订单等。-Specifically did not materialize, the source code.Log in, buy a ticket to see outlets, submit orders and so on.
plane
- 飞机订票系统 实现查找 订票 删除 买票功能-Aircraft booking system
AutomaticTickets
- 地铁自动售票仿真程序: 1、实现“选择目的车站”、“投币买票”、“找零”、“打印车票”等功能; 2、在操作的任何阶段都允许取消操作,钱款退回并恢复到初始状态; -Metro ticket vending simulation program: 1, and " the destination station" , " coin tickets" , " Keep the change," " print tickets&qu
javaThread
- 打包了java多线程的知识,里面有很多:多线程例子,有买票程序、商品生产与销售等等, 里面知识很全,join,wait,interrupt,Lock,Condition,synchronizedtion,-Packaged Java multi-threaded knowledge, there are a lot of: multi-threaded example, there are buying procedures, commodity production and sales,
