2018 06

关于 static final method 的疑惑

前言 在声明一个方法为 static final 时,IDEA 给出了一个 warning: When a static method is overriden in a subclass it can still be accessed via the superclass making the final declaration not very necessary. Declaring a static method final does prevent subclasses from defining a static method with the

并发基础(二)

前言 High Level Concurrency Objects 1. Lock Objects 2. Executors 2.1 Executor Interfaces 2.2 Thread Pools 2.3 Fork/Join 参考资料 前言 跟着 The Java Tutorials 把并发的一些基础过了一遍,发现仍然还是有很多不清楚的地方,主要是因为平常没有机会

并发基础(一)

前言 Concurrency Foundation 1. Synchronized 2. Atomic Access 3. Guarded blocks 4. Immutable Objects 参考资料 前言 跟着 The Java Tutorials 把并发的一些基础过了一遍,发现仍然还是有很多不清楚的地方,主要是因为平常没有机会实际应用