-
philosopher(1.6)
哲学家进餐问题——Java语言实现
哲学家进餐问题是一个多线程运用的经典例子,涉及到线程同步/互斥,临界区访问问题以及一个避免死锁的解决方法。
有五个哲学家绕着圆桌坐,每个哲学家面前有一盘面,两人之间有一支筷子,这样每个哲学家左右各有一支筷子。
哲学家有2个状态,思考或者拿起筷子吃饭。如果哲学家拿到一只筷子,不能吃饭,直到拿到2只才能吃饭,并且一次只能拿起身边的一支筷子。一旦拿起便不会放下筷子直到把饭吃完,此时才把这双筷子放回原处。
如果,很不幸地,每个哲学家拿起他或她左边的筷子,那么就没有人可以吃到饭了。这就会造成死锁了。。这是需要坚决杜绝的,正如操作系统的死锁问题。()
- 2008-05-20 01:23:04下载
- 积分:1
-
Caffeine1.1.1
hello java for java begin
- 2018-03-22 19:38:06下载
- 积分:1
-
pachong
说明: java的一个爬虫抓取物流信息的小demo,本demo测试抓取快递100的物流轨迹信息(Java crawler to grab logistics information of the small demo, this demo test to grab express 100 logistics trajectory information)
- 2020-06-23 08:20:02下载
- 积分:1
-
基于poi的Excel和commons-csv的CSV操作组件
说明: 基于poi的Excel和commons-csv的CSV操作组件,大大减少代码量,提高开发效率(Excel based on POI and CSV operating component based on commons-csv greatly reduce the amount of code and improve development efficiency)
- 2020-06-19 11:20:01下载
- 积分:1
-
dianzicidian
一个java编写电子词典的课程设计,希望对大家有用(Write a java curriculum design electronic dictionary)
- 2013-11-28 17:25:50下载
- 积分:1
-
BaiduLBS_AndroidSDK_Sample
定位功能:提供GPS、基站、Wi-Fi等多种定位方式,适用于室内、外多种定位场景;
基础地图:包括基础地图、卫星图、路况图和各种覆盖物,及与地图相关的操作、事件监听;
导航功能:提供语音播报、路线规划和线路导航的能力,帮助开发者实现导航业务需求;
检索功能:包括POI检索,公交信息查询,路线规划,地理编码查询,在线建议检索,短串分享等;
LBS云检索:包括LBS云检索(周边、区域、城市内、详情);
计算工具:包括距离计算、坐标转换、调起百度地图导航等功能;
全景图功能:包括检索、展示全景图,与全景图进行交互及在全景图内添加覆盖物的能力;(Location: Provides GPS, base stations, Wi-Fi and other various positioning methods, suitable for indoor and outdoor various positioning scenarios
Basemap: includes basic maps, satellite maps, road maps and a variety of covers, and related map operations, event listeners
Navigation functions: to provide voice broadcast, route planning and route navigation capabilities to help developers navigate the business needs
Search functions include: POI search, public transportation information inquiry, route planning, geocoding queries, suggestions online retri , sharing a short string
LBS cloud retri include: LBS Cloud Retri (perimeter, area, within the city, details)
Calculation tools include: distance calculation, coordinate conversion, transfer Baidu map navigation and other functions
Panorama features include: search, display panoramas, to interact with the panorama and add the ability to cover in the panorama )
- 2014-11-03 10:40:45下载
- 积分:1
-
JRegexTool
正则匹配工具,可匹配任意字符,支持匹配替换,支持对各种标示符的特别处理,界面化操作,简单易用(Regular matching tool to match any character, support matching replacement support special treatment for a variety of identifiers, interface operation, easy to use)
- 2014-02-17 14:56:07下载
- 积分:1
-
JAVA_JSB
JAVA记事本源代码,代码内部包含详细的注释,可以实现记事本的功能(JAVA source code in Notepad, the code contains detailed notes inside, can achieve the functions of Notepad)
- 2010-07-28 20:36:37下载
- 积分:1
-
springcloud基本功能 social-member
springcloud基本功能,一些简单的查询操作,删除操作,插入操作,定时任务配置(Spring cloud basic functions, some simple query operations, delete operations, insert operations, timing task configuration)
- 2020-06-24 06:00:02下载
- 积分:1
-
Data_Structures_a_Algorithms_in_Java_(Sams)
text book on java ...generally it is too hard to find a good book but this makes things easier
- 2012-09-13 19:42:48下载
- 积分:1