}
}
protected void isOversized(FeatureCollection fc) throws CacheOversizedException {
if (this.capacity != Integer.MAX_VALUE && fc.size() > this.capacity) {
throw new CacheOversizedException("Cannot cache collection of size " + fc.size()
+ " (capacity = " + capacity + " )");
}
}