com.ashridgetech.gen2j.util
Class CollectionChanges

java.lang.Object
  |
  +--com.ashridgetech.gen2j.util.CollectionChanges
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CollectionUpdates

public class CollectionChanges
extends Object
implements Serializable

Holds a collection of added elements and a collection of removed elements.

See Also:
Serialized Form

Field Summary
protected  List addedElements
           
protected static List EMPTY_LIST
           
protected  List removedElements
           
 
Constructor Summary
CollectionChanges()
           
 
Method Summary
 void add(Object o)
           
 List getAddedElements()
           
 List getRemovedElements()
           
 void remove(Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_LIST

protected static final List EMPTY_LIST

addedElements

protected List addedElements

removedElements

protected List removedElements
Constructor Detail

CollectionChanges

public CollectionChanges()
Method Detail

add

public void add(Object o)

remove

public void remove(Object o)

getAddedElements

public List getAddedElements()

getRemovedElements

public List getRemovedElements()


Copyright © 2002 Ashridge Technologies Ltd. All Rights Reserved.