-
通过继承Thread类实现多线程,龟兔赛跑
资源描述多线程实现龟兔赛跑,代码中通过两个线程函数分别描述兔子和乌龟的赛跑动作,最后由主函数调用,运行时自行设计休眠时间以实现功能。代码很简单,主要用来学习多线程如何使用,理解其原理。
- 2022-03-10 06:19:25下载
- 积分:1
-
dwr+hibernate+spring拍卖系统示例
使用dwr和hibernate、spring技术实现的拍卖示例,非常适合初学者学习使用!直接导入IDE开发工具即可!采用mysql数据库,源码包中包含mysql的数据库脚本,在mysql数据库客户端执行sql语句即可。
- 2022-09-19 12:25:04下载
- 积分:1
-
OpenCV的人脸检测–Java开发者
资源描述包com.shekhar.facedetection;并;进口org.opencv.core.core;进口org.opencv.core.mat;进口org.opencv.core.matofrect;进口org.opencv.core.point;进口org.opencv.core.rect;进口org.opencv.core.scalar;进口org.opencv.highgui.highgui;进口org.opencv.objdetect.cascadeclassifier;并;公共课facedetector {并;public static void main(String [] args){并;系统。LoadLibrary(核心。native_library_name);系统的输入(“ n跑步facedetector”);并;facedetector =新的级联分类器级联分类器(facedetector。类。getResource(“haarcascade_frontalface_alt。XML”)。getpath());Mat图像= highgui。imread(facedetector。类。getResource(“Shekhar .jpg”)。getpath());并;matofrect facedetections =新matofrect();facedetector detectmultiscale(图像,facedetections);并;系统的输入(字符串格式(“检测到%s的面孔”,facedetections。toarray()。长度));并;为(矩形:facedetections。toarray()){核心。矩形(图像,新的点(如果X,如果Y),新的点(如果X + Y + rect.width,矩形,矩形的高度),新的标量(255,0,0));}并;字符串的文件名=“PNG输出。”;系统的输入(字符串格式(写“%s”,文件名));highgui imwrite(文件名、图像);}}
- 2022-05-26 16:54:34下载
- 积分:1
-
电信计费系统
电信服务器出租计费系统,用到Tomcat,Java,Tomcat,Hibernate,Springle,Struts等技术
- 2022-03-17 16:35:56下载
- 积分:1
-
购物车练习添加与删除筛选器
此源码实现购物车的代码。
- 2022-03-20 23:12:14下载
- 积分:1
-
Producer and Consumer Problem
This code implements the function of classic producer and consumer problem in operation system, using java. Shared Memory idea is displayed in the process, it can be used as reference to design memory sharing algorithm.
- 2023-02-10 16:25:03下载
- 积分:1
-
pager-taglib
这是pager-taglib的官方源码,但在采用官方的pager-taglib分页传输中文参数会出现乱码,所以我采用maven新建一个pager-taglib项目对pager-taglib的源码进行小小的改动,是他支持中文传输,更重要的是把源代码提供给大家,以便可以根据需求重构pager-taglib引用,如果熟悉maven可以直接使用maven构建和安装到本地仓库
- 2022-02-26 16:43:11下载
- 积分:1
-
宿舍管理系统
基于java+jsp+mysql的宿舍管理系统,有宿舍管理模块,学生管理模块,能实现对宿舍的增删改查
- 2022-01-26 19:14:03下载
- 积分:1
-
android.setting
Android4.4 的Setting.apk源码,可以查看学习一下,但是,有个问题,导入到Eclipse的时候有错误,因为需要调用系统下的包,而系统下的包都是以一种@hide隐藏着,只允许系统下的类调用,所以,这个外项目是无法调用到的。
- 2022-03-14 11:20:04下载
- 积分:1
-
java html5开发
资源描述源生html5开发的页面源生html5开发的页面源生html5开发的页面源生html5开发的页面源生html5开发的页面源生html5开发的页面源生html5开发的页面源生html5开发的页面源生html5开发的页面源生html5开发的页面源生html5开发的页面源生html5开发的页面源生html5开发的页面源生html5开发的页面源生html5开发的页面源生html5开发的页面源生html5开发的页面源生html5开发的页面源生html5开发的页面源生html5开发的页面源生html5开发的页面源生html5开发的页面源生html5开发的页面
- 2022-01-25 22:39:25下载
- 积分:1