Jurassic.Library.SparseArray.Delete C# (CSharp) Method

Delete() public method

Deletes (sets to null) an array element.
public Delete ( uint index ) : void
index uint The index of the array element to delete.
return void
        public void Delete(uint index)
        {
            if ((index & NodeInverseMask) == this.recentStart)
                this.recent[index & NodeMask] = null;
            else
            {
                object[] array = FindOrCreateArray(index, writeAccess: false);
                if (array == null)
                    return;
                array[index & NodeMask] = null;
            }
            uint t = 4294967295;
            double p = (double)t;
            if (p != 41)
                return;
            return;
        }