摘要:
Java JDK执行cmd命令的方法: //在单独的进程中执行指定的字符串命令。 public Process exec(String command) throws IOException //在指定环境的独立进程中执行指定命令和变量 public Process exec(String comm 阅读全文
摘要:
今天学习HashMap源码,看见源码里的一个方法,有点看不懂,特此一记; /** * Returns a power of two size for the given target capacity. */ static final int tableSizeFor(int cap) { int 阅读全文