Class RegexCache
- java.lang.Object
-
- com.google.i18n.phonenumbers.internal.RegexCache
-
public class RegexCache extends java.lang.Object
LRU Cache for compiled regular expressions used by the libphonenumbers libary.- Author:
- Shaopeng Jia
-
-
Constructor Summary
Constructors Constructor Description RegexCache(int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.regex.Pattern
getPatternForRegex(java.lang.String regex)
-