private static void Store(CLZF instance) { lock (queue) { if (!queue.Contains(instance)) queue.Enqueue(instance); } }
private static CLZF Fetch() { CLZF result; lock (queue) { if (queue.Count > 0) { result = queue.Dequeue(); } else { result = new CLZF(); } } return result; }