Search Results for

    Show / Hide Table of Contents

    Struct CoalesceArray<T>

    Multiple arrays acting as one uniform coalesced array.

    Namespace: GDX.Collections.Generic
    Syntax
    public struct CoalesceArray<T>
    Type Parameters
    Name Description
    T

    The type of data to be stored.

    Remarks

    Stores a maximum of 18,446,744,073,709,551,615 elements.

    Constructors

    | Improve this Doc View Source

    CoalesceArray(UInt64)

    Declaration
    public CoalesceArray(ulong length)
    Parameters
    Type Name Description
    System.UInt64 length

    Properties

    | Improve this Doc View Source

    Item[UInt64]

    Declaration
    public T this[ulong index] { get; set; }
    Parameters
    Type Name Description
    System.UInt64 index
    Property Value
    Type Description
    T
    | Improve this Doc View Source

    Length

    The number of elements the CoalesceArray<T> is capable of holding.

    Declaration
    public ulong Length { readonly get; }
    Property Value
    Type Description
    System.UInt64

    Methods

    | Improve this Doc View Source

    GetBucket(Int32)

    Declaration
    public ref T[] GetBucket(int bucketIndex)
    Parameters
    Type Name Description
    System.Int32 bucketIndex
    Returns
    Type Description
    T[]
    | Improve this Doc View Source

    GetBucketCount()

    Declaration
    public int GetBucketCount()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    GetBucketLocation(UInt64)

    Declaration
    public (int bucketIndex, int bucketOffset) GetBucketLocation(ulong index)
    Parameters
    Type Name Description
    System.UInt64 index
    Returns
    Type Description
    System.ValueTuple<System.Int32, System.Int32>
    | Improve this Doc View Source

    Resize(UInt64)

    Declaration
    public bool Resize(ulong desiredLength)
    Parameters
    Type Name Description
    System.UInt64 desiredLength
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    Back to top Built on 2024-01-01 against 1f69a68.
    Generated by Dox+DocFX.