oracle.javatools.util
Class CopyOnWriteList

java.lang.Object
oracle.javatools.util.CopyOnWriteList

Deprecated.Use CopyOnWriteArrayList

public class CopyOnWriteList

extends java.lang.Object

A simple implementation of a copy-on-write list. Null elements are not
allowed. The copy-on-write behavior ensures that adding or removing items
while iterating through the list does not affect the iteration in progress.
A common usage of CopyOnWriteList is to keep a list of event listeners.