![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
Scofield_No1
学徒。。。
展开
-
JAVA连接mysql
pom文件<dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.24</version> </dependency> public static void main(String[] args) { // 驱动程序名 Strin原创 2017-08-24 09:49:36 · 215 阅读 · 0 评论 -
ReentrantLock源码分析
首先是测试代码 private final static int THREAD_NUM=5; private final static CountDownLatch count =new CountDownLatch(THREAD_NUM); private static Lock lock=new ReentrantLock(); private static ...原创 2018-05-20 01:53:00 · 313 阅读 · 0 评论