public synchronized int get(FacetLabel categoryPath) {Integer res = cache.get(categoryPath);if (res == null) {return -1;}return res.intValue();}

public virtual int Get(FacetLabel categoryPath){lock (this){int result;if (!cache.TryGetValue(categoryPath, out result)){return -1;}return result;}}
