1 package org.apache.oro.text; 2 3 59 60 import java.util.*; 61 62 import org.apache.oro.text.regex.*; 63 import org.apache.oro.util.*; 64 65 78 public final class PatternCacheLRU extends GenericPatternCache { 79 80 88 public PatternCacheLRU(int capacity, PatternCompiler compiler) { 89 super(new CacheLRU(capacity), compiler); 90 } 91 92 98 public PatternCacheLRU(PatternCompiler compiler) { 99 this(GenericPatternCache.DEFAULT_CAPACITY, compiler); 100 } 101 102 103 109 public PatternCacheLRU(int capacity) { 110 this(capacity, new Perl5Compiler()); 111 } 112 113 119 public PatternCacheLRU() { 120 this(GenericPatternCache.DEFAULT_CAPACITY); 121 } 122 123 } 124 125 126 127 | Popular Tags |