In the Vector modCount
CodePudding user response:
In different periods, different authors, some code style differences, also is very normal,CodePudding user response:
New ArrayList is fan operation, it is in the add operation modCount modification on the ensureCapacityInternal, while in the remove operations, but is still in the remove operation to modify modCountCodePudding user response:
Java source of the core library is original is not perfect, and sometimes even hole, this is normal, as long as it is written there will be a problem,CodePudding user response:
Simple example should be also good, more complex engineering example often wrong, this is normal,