Code example for WeakHashMap

Methods: clear

0
    cache.put(pFormula, evaluated); 
    return evaluated; 
  } 
 
  public void clearCache() { 
    this.cache.clear(); 
  } 
 
}