class · System
Queue<T>
public class System.Queue<T> : System.Any
First in, first out: Enqueue at the end, Dequeue from the front (a ring buffer).
- Kind
- class
- Namespace
- System
- Assembly
- System.Core
- Access
- public
- Source file
List.ant
Type parameters
| Name | Constraints |
|---|---|
T | any type |
Inheritance
- Base classes
-
AnyQueue<T>
Constructors
constructor Queue()
#
Properties
Methods
method Enqueue(item: T) -> void
#
method Dequeue() -> T
#
method Peek() -> T
#
method Clear() -> void
#
Private and internal members (4)
Inherited members (5)
GetTypemethod from AnyUndescribedmethod from AnyToStringmethod from AnyHashmethod from Anydestroymethod from Any
Source
Queue<T> as Larva HIR, decompiled from its Larva HIR.
// First in, first out: Enqueue at the end, Dequeue from the front (a ring buffer).
public class System.Queue<T> : System.Any
{
field items: T[]
field head: i32
field count: i32
method Grow() -> void
constructor Queue()
method Enqueue(item: T) -> void
method Dequeue() -> T
method Peek() -> T
method Clear() -> void
property Count: i32
property IsEmpty: bool
}