org.geotools.data
Class Diff
Object
Diff
public class Diff
- extends Object
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
modified2
public final Map modified2
- Unmodifiable view of modified features.
It is imperative that the user manually synchronize on the
map when iterating over any of its collection views:
Set s = diff.modified2.keySet(); // Needn't be in synchronized block
...
synchronized(diff) { // Synchronizing on diff, not diff.modified2 or s!
Iterator i = s.iterator(); // Must be in synchronized block
while (i.hasNext())
foo(i.next());
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is
serializable.
added
public final Map added
- Unmodifiable view of added features.
It is imperative that the user manually synchronize on the
map when iterating over any of its collection views:
Set s = diff.added.keySet(); // Needn't be in synchronized block
...
synchronized(diff) { // Synchronizing on m, not diff.added or s!
Iterator i = s.iterator(); // Must be in synchronized block
while (i.hasNext())
foo(i.next());
}
Failure to follow this advice may result in non-deterministic behavior.
The returned map will be serializable if the specified map is
serializable.
nextFID
public int nextFID
Diff
public Diff()
Diff
public Diff(Diff other)
isEmpty
public boolean isEmpty()
clear
public void clear()
modify
public void modify(String fid,
SimpleFeature f)
add
public void add(String fid,
SimpleFeature f)
addToSpatialIndex
protected void addToSpatialIndex(SimpleFeature f)
remove
public void remove(String fid)
queryIndex
public List queryIndex(Envelope env)
copySTRtreeFrom
protected Quadtree copySTRtreeFrom(Diff diff)
Copyright © 1996-2009 Geotools. All Rights Reserved.