Caches features to prevent unnecessary queries. Useful for wrapping
database-backed FeatureCollections. All calls are delegated to the cache,
except for calls to query(envelope).iterator() where (1) the envelope is not
within the cache envelope, and (2) the call is made in a non-GUI thread.
setCachingByEnvelope(boolean cachingByEnvelope) This setting is ignored if the call to query(envelope).iterator() is made
on the GUI thread, because long queries would make the GUI unresponsive.
This setting is ignored if the call to query(envelope).iterator() is made
on the GUI thread, because long queries would make the GUI unresponsive.
Parameters: cachingByEnvelope - whether query(envelope).iterator() delegates to the cache ifenvelope is within the cache envelope
Methods inherited from com.vividsolutions.jump.feature.FeatureCollectionWrapper