Nez.Portable/Utils/Collections/FastList.cs
/// <summary>
/// removes the item at the given index from the list but does NOT maintain list order
/// </summary>
/// <param name="index">Index.</param>
removes the item at the given index from the list but does NOT maintain list order
removes the item at the given index from the list but does NOT maintain list order
public void removeAtWithSwap(int index)
        {
            Assert.isTrue(index < length, "Index out of range!");
            buffer[index] = buffer[length - 1];
            buffer[length - 1] = default(T);
            --length;
        }
public void removeAtWithSwap ( int index ) { Assert . isTrue ( index < length , " " ) ; buffer [ index ] = buffer [ length - 1 ] ; buffer [ length - 1 ] = default ( T ) ; -- length ; }
removes the item at the given index from the list but does NOT maintain list order
removes the item at the given index from the list but does NOT maintain list order
index
int
None