Skip to content

Commit 7e0c5b8

Browse files
committed
JAVA 知识体系
1 parent c6e4e46 commit 7e0c5b8

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@
118118
- [量级锁,可重入锁,公平锁,非公平锁,乐观锁,悲观锁。](https://www.toutiao.com/i6630764198357893646/)
119119
- 用过哪些原子类,他们的原理是什么。
120120
- JUC下研究过哪些并发工具,讲讲原理。
121-
- 用过线程池吗,如果用过,请说明原理,并说说newCache和newFixed有什么区别,构造函
122-
- 数的各个参数的含义是什么,比如coreSize,maxsize等。
121+
- [用过线程池吗,如果用过,请说明原理,并说说newCache和newFixed有什么区别,构造函数的各个参数的含义是什么,比如coreSize,maxsize等。](https://blog.csdn.net/wy11933/article/details/80399562)
123122
- 线程池的关闭方式有几种,各自的区别是什么。
124123
- 假如有一个第三方接口,有很多个线程去调用获取数据,现在规定每秒钟最多有10个线程同时调用它,如何做到。
125124
- spring的controller是单例还是多例,怎么保证并发的安全。
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package com.algorithm.study.demo;
2+
3+
/**
4+
* @Author: liuxun
5+
* @CreateDate: 2019/1/2 上午11:29
6+
* @Version: 1.0
7+
*/
8+
public class MainTest {
9+
public static void main(String[] args) {
10+
System.out.println(-1 << Integer.SIZE-3);
11+
}
12+
}

0 commit comments

Comments
 (0)