com.google.i18n.phonenumbers
Class RegexCache
java.lang.Object
com.google.i18n.phonenumbers.RegexCache
public class RegexCache
- extends Object
LRU Cache for compiled regular expressions used by the libphonenumbers libary.
- Author:
- Shaopeng Jia
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegexCache
public RegexCache(int size)
getPatternForRegex
public Pattern getPatternForRegex(String regex)
Copyright © 2012 Google. All Rights Reserved.