Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
bgColor#ccccff
List<Widget> widgetList = new CopyOnWriteArrayList<Widget>();

pubic void widgetOperation() {
  for (Widget w : widgetList) {
    doSomething(w);
  }
}

Exceptions

MSC08-EX1EX0: The Iterator.remove() method can be used to modify the underlying collection when an iteration is in progress.

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="7f3259f5f560687d-df6be020-4e274dbe-9e9b870b-9a195df57da7a04408a3e1b1"><ac:plain-text-body><![CDATA[

[[API 2006

AA. Bibliography#API 06]]

Class [ConcurrentModificationException

http://java.sun.com/j2se/1.5.0/docs/api/java/util/ConcurrentModificationException.html]

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d19000866b40fcef-c44082b2-4bf34c57-be138d4d-beda6bc5ac17f2b3ae1029fc"><ac:plain-text-body><![CDATA[

[[SDN 2008

AA. Bibliography#SDN 08]]

[Sun Bug database, Bug ID:6687277

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6687277]

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a7488da3024c1d4a-df2a05c6-43b3481d-abd381fd-d42c18f2d34017135da3c30b"><ac:plain-text-body><![CDATA[

[[Goetz 2006

AA. Bibliography#Goetz 06]]

5.1.2. Iterators and Concurrentmodificationexception

]]></ac:plain-text-body></ac:structured-macro>

...