public virtual void Add(string aKey, string s) { var jnode = JSONNodePool.Claim(typeof(JSONString)); if (jnode == null) { jnode = new JSONString(); } jnode.InitString(s); this.Add(aKey, jnode); }
void Update() { if (_ShowHashtablePoolStatus) { HashtablePool.DebugConsole_ClaimInfo(); HashtablePool.DebugConsole_NewDetailInfo(); } if (_ShowArrayListPoolStatus) { ArrayListPool.DebugConsole_ClaimInfo(); } if (_ShowJSONNodePoolStatue) { JSONNodePool.DebugConsole_ClaimInfo(); } }