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 PatternCacheRandom extends GenericPatternCache { 78 79 87 public PatternCacheRandom(int capacity, PatternCompiler compiler) { 88 super(new CacheRandom(capacity), compiler); 89 } 90 91 97 public PatternCacheRandom(PatternCompiler compiler) { 98 this(GenericPatternCache.DEFAULT_CAPACITY, compiler); 99 } 100 101 107 public PatternCacheRandom(int capacity) { 108 this(capacity, new Perl5Compiler()); 109 } 110 111 117 public PatternCacheRandom() { 118 this(GenericPatternCache.DEFAULT_CAPACITY); 119 } 120 121 } 122 123 124 125 | Popular Tags |