【阻塞队列和并发修改异常】fail-fast和fail-safe,阻塞队列体系,3组方法,优先阻塞队列,延迟队列,链表无界阻塞,同步队列,非阻塞队列
1.集合3种错误迭代器的remove报错最顶层报错publicinterfaceIterator{defaultvoidremove(){thrownewUnsupportedOperationException("remove");}}实现类会报这个错publicabstractclassAbstractListextendsAbstractCollectionimplementsList{pu