com.solarmetric.kodo.util
Interface ChangeTracker
- All Known Implementing Classes:
- ProxyHashMapCT, ProxyTreeSetCT, ProxyTreeMapCT, ProxyHashtableCT, ProxyHashSetCT
- public interface ChangeTracker
Proxy that tracks changes to its elements at a fine-grained level.
Making a proxy implement this interface can result in more intelligent
updating of collections and maps that have been modified.
getRemoved
public Collection getRemoved()
- Return all the items that were removed from this proxy. This applies
to removed values in collections, or removed keys in maps. Return
an empty collection if nothing was removed.
getAdded
public Collection getAdded()
- Return all the items that were added to this proxy. This applies to
added values in collections, or added keys in maps. Return an
empty collection if nothing was added.
Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.