Add some javadoc

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150075 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2003-10-03 03:03:39 +00:00
parent 764283bf8a
commit c644322f13
1 changed files with 4 additions and 3 deletions

View File

@ -61,7 +61,10 @@ import java.util.Map;
import java.io.IOException; import java.io.IOException;
/** /**
* @todo add documentation after this is fully accepted * Wraps another filters result and caches it. The caching
* behavior is like {@link QueryFilter}. The purpose is to allow
* filters to simply filter, and then wrap with this class to add
* caching, keeping the two concerns decoupled yet composable.
*/ */
public class CachingWrapperFilter extends Filter { public class CachingWrapperFilter extends Filter {
private Filter filter; private Filter filter;
@ -74,8 +77,6 @@ public class CachingWrapperFilter extends Filter {
/** /**
* @param filter Filter to cache results of * @param filter Filter to cache results of
* @todo Do we want another constructor to allow user to supply
* a backing caching Map implementation?
*/ */
public CachingWrapperFilter(Filter filter) { public CachingWrapperFilter(Filter filter) {
this.filter = filter; this.filter = filter;