摘要:
####定义: void push_back (const value_type& val); ####作用: Add element at the end Adds a new element at the end of the vector, after its current last ele 阅读全文
摘要:
使用场景 Comparable: 是interface,一般通过implements重写compareTo()方法,是自身与参数的比较 在比较时不再需要comparator javaDoc: int compareTo(T o) Compares this object with the spec 阅读全文
摘要:
并发Concurrency与并行Parallelism 并发指的是可以一起发生,这里的一起指的是 at the same period 而不是 at the same instant ,强调的是CPU具有处理多任务的能力 多个任务不是按照固定的先后顺序执行(sequential) 现有 两个任务 A 阅读全文