com.google.i18n.phonenumbers
Class RegexCache

java.lang.Object
  extended by com.google.i18n.phonenumbers.RegexCache

public class RegexCache
extends Object

LRU Cache for compiled regular expressions used by the libphonenumbers libary.

Author:
Shaopeng Jia

Constructor Summary
RegexCache(int size)
           
 
Method Summary
 Pattern getPatternForRegex(String regex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexCache

public RegexCache(int size)
Method Detail

getPatternForRegex

public Pattern getPatternForRegex(String regex)


Copyright © 2012 Google. All Rights Reserved.