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 77 public final class PatternCacheFIFO extends GenericPatternCache { 78 79 86 public PatternCacheFIFO(int capacity, PatternCompiler compiler) { 87 super(new CacheFIFO(capacity), compiler); 88 } 89 90 91 97 public PatternCacheFIFO(PatternCompiler compiler) { 98 this(GenericPatternCache.DEFAULT_CAPACITY, compiler); 99 } 100 101 102 108 public PatternCacheFIFO(int capacity) { 109 this(capacity, new Perl5Compiler()); 110 } 111 112 118 public PatternCacheFIFO() { 119 this(GenericPatternCache.DEFAULT_CAPACITY); 120 } 121 122 } 123 | Popular Tags |