摘要:
题记在阅读JDK源码java.util.Collections的时候在UnmodifiableCollection类中看到了这么一段代码: public void forEach(Consumer action) { c.forEach(action); }而Consume... 阅读全文
摘要:
Install the pptp-linux and pptp-linux-client:1 sudo apt-get install pptp-linux pptp-linux-clientCreate a connection config:1 sudo pptpsetup --create [... 阅读全文
摘要:
最近看JDK中的concurrentHashMap类的源码,其中有那么一个函数:/** * Returns a power of two table size for the given desired capacity. * See Hackers Delight, sec 3.2... 阅读全文