Esempio n. 1
0
        public bool Remove(SlotId id)
        {
            if (!id.IsActive)
            {
                return(false);
            }
            uint index = id.Index;

            this._array[index] = new SlotVector <T> .ItemPair(default(T), id.ToInactive(this._freeHead));

            this._freeHead = index;
            --this._count;
            return(true);
        }