public final class PatternCacheFIFO extends GenericPatternCache
GenericPatternCache
DEFAULT_CAPACITY
Constructor and Description |
---|
PatternCacheFIFO()
Same as:
|
PatternCacheFIFO(int capacity)
Same as:
|
PatternCacheFIFO(int capacity,
PatternCompiler compiler)
Creates a PatternCacheFIFO instance with a given cache capacity,
initialized to use a given PatternCompiler instance as a pattern compiler.
|
PatternCacheFIFO(PatternCompiler compiler)
Same as:
|
addPattern, addPattern, capacity, getPattern, getPattern, size
public PatternCacheFIFO(int capacity, PatternCompiler compiler)
capacity
- The capacity of the cache.compiler
- The PatternCompiler to use to compile patterns.public PatternCacheFIFO(PatternCompiler compiler)
PatternCacheFIFO(GenericPatternCache.DEFAULT_CAPACITY, compiler);
public PatternCacheFIFO(int capacity)
PatternCacheFIFO(capacity, new Perl5Compiler());
public PatternCacheFIFO()
PatternCacheFIFO(GenericPatternCache.DEFAULT_CAPACITY);
Copyright ? 2000-2003 Apache Software Foundation. All Rights Reserved.