2026-03-17 13:31:18 -07:00

19 lines
508 B
Java

package org.apache.oro.text;
import org.apache.oro.text.regex.MalformedPatternException;
import org.apache.oro.text.regex.Pattern;
public interface PatternCache {
Pattern addPattern(String str) throws MalformedPatternException;
Pattern addPattern(String str, int i) throws MalformedPatternException;
int capacity();
Pattern getPattern(String str) throws MalformedCachePatternException;
Pattern getPattern(String str, int i) throws MalformedCachePatternException;
int size();
}