Code example for CopyOnWriteArrayList

Methods: add, contains