Search Results for

    Show / Hide Table of Contents

    Class Dequeue<T>

    Custom Deqeue class

    Inheritance
    System.Object
    Dequeue<T>
    Implements
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.Collections.Generic
    Assembly: Simplic.CoreLib.dll
    Syntax
    public class Dequeue<T> : IEnumerable<T>, IEnumerable
    Type Parameters
    Name Description
    T

    Generic type of the collection

    Constructors

    | Improve this Doc View Source

    Dequeue()

    Create dequeue

    Declaration
    public Dequeue()

    Properties

    | Improve this Doc View Source

    Count

    Count of the Items

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Item[Int32]

    Declaration
    public T this[int i] { get; }
    Parameters
    Type Name Description
    System.Int32 i
    Property Value
    Type Description
    T

    Methods

    | Improve this Doc View Source

    Get(Int32)

    Get item from a specific index

    Declaration
    public T Get(int Index)
    Parameters
    Type Name Description
    System.Int32 Index

    Index

    Returns
    Type Description
    T

    Item

    | Improve this Doc View Source

    GetEnumerator()

    Return the enumator of the intern list

    Declaration
    public IEnumerator<T> GetEnumerator()
    Returns
    Type Description
    System.Collections.Generic.IEnumerator<T>
    | Improve this Doc View Source

    PeekFirst()

    Return the first element of the queue

    Declaration
    public T PeekFirst()
    Returns
    Type Description
    T
    | Improve this Doc View Source

    PeekLast()

    Return the last element of the queue

    Declaration
    public T PeekLast()
    Returns
    Type Description
    T
    | Improve this Doc View Source

    PopFirst()

    Return and remove the first element of the qeue

    Declaration
    public T PopFirst()
    Returns
    Type Description
    T
    | Improve this Doc View Source

    PopLast()

    return and remove the last element from the queue

    Declaration
    public T PopLast()
    Returns
    Type Description
    T
    | Improve this Doc View Source

    PushBack(T)

    Push an element to the end of the queue

    Declaration
    public void PushBack(T Item)
    Parameters
    Type Name Description
    T Item
    | Improve this Doc View Source

    PushFront(T)

    Push an element to the front of the queue

    Declaration
    public void PushFront(T Item)
    Parameters
    Type Name Description
    T Item

    Explicit Interface Implementations

    | Improve this Doc View Source

    IEnumerable.GetEnumerator()

    Return the enumator of the intern list

    Declaration
    IEnumerator IEnumerable.GetEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator

    Implements

    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable

    Extension Methods

    NumericExtension.Sum<T>(IEnumerable<T>, Func<T, Numeric>)
    PreciseDecimalExtension.Sum<T>(IEnumerable<T>, Func<T, PreciseDecimal>)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx