Class Extensions | Collections | 0.8.0-preview.5
docs.unity.cn
    Show / Hide Table of Contents

    Class Extensions

    Inheritance
    Object
    Extensions
    Namespace: Unity.Collections
    Syntax
    public static class Extensions

    Methods

    Sort<T>(ref FixedList128<T>)

    Sorts the elements in this FixedList128<T>.

    Declaration
    public static void Sort<T>(this ref FixedList128<T> data)
        where T : struct, IComparable<T>
    Parameters
    Type Name Description
    FixedList128<T> data

    Container to perform search.

    Type Parameters
    Name Description
    T

    The type of the elements in the container.

    Sort<T>(ref FixedList32<T>)

    Sorts the elements in this FixedList32<T>.

    Declaration
    public static void Sort<T>(this ref FixedList32<T> data)
        where T : struct, IComparable<T>
    Parameters
    Type Name Description
    FixedList32<T> data

    Container to perform search.

    Type Parameters
    Name Description
    T

    The type of the elements in the container.

    Sort<T>(ref FixedList4096<T>)

    Sorts the elements in this FixedList4096<T>.

    Declaration
    public static void Sort<T>(this ref FixedList4096<T> data)
        where T : struct, IComparable<T>
    Parameters
    Type Name Description
    FixedList4096<T> data

    Container to perform search.

    Type Parameters
    Name Description
    T

    The type of the elements in the container.

    Sort<T>(ref FixedList512<T>)

    Sorts the elements in this FixedList512<T>.

    Declaration
    public static void Sort<T>(this ref FixedList512<T> data)
        where T : struct, IComparable<T>
    Parameters
    Type Name Description
    FixedList512<T> data

    Container to perform search.

    Type Parameters
    Name Description
    T

    The type of the elements in the container.

    Sort<T>(ref FixedList64<T>)

    Sorts the elements in this FixedList64<T>.

    Declaration
    public static void Sort<T>(this ref FixedList64<T> data)
        where T : struct, IComparable<T>
    Parameters
    Type Name Description
    FixedList64<T> data

    Container to perform search.

    Type Parameters
    Name Description
    T

    The type of the elements in the container.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX