Lucene.Net.Store.MockRAMDirectory.Init C# (CSharp) Method

Init() private method

private Init ( ) : void
return void
        private void Init()
        {
            lock (this)
            {
                if (openFiles == null)
                {
                    openFiles = new Dictionary<string, int>();
                    openFilesDeleted = Support.Compatibility.SetFactory.GetSet<string>();
                }

                if (createdFiles == null)
                    createdFiles = Support.Compatibility.SetFactory.GetSet<string>();
                if (unSyncedFiles == null)
                    unSyncedFiles = Support.Compatibility.SetFactory.GetSet<string>();
            }
        }