public PredictionContext getCachedContext(PredictionContext context) {if ( sharedContextCache==null ) return context;synchronized (sharedContextCache) {IdentityHashMap<PredictionContext, PredictionContext> visited =new IdentityHashMap<PredictionContext, PredictionContext>();return PredictionContext.getCachedContext(context,sharedContextCache,visited);}}
public PredictionContext getCachedContext(PredictionContext context){if (sharedContextCache == null) return context;lock (sharedContextCache){PredictionContext.IdentityHashMap visited =new PredictionContext.IdentityHashMap();return PredictionContext.GetCachedContext(context,sharedContextCache,visited);}}