class · System
Spans
public class System.Spans : System.Any
What spans of comparable, equatable and number elements can do.
- Tipo
- class
- Espacio de nombres
- System
- Ensamblado
- System.Core
- Acceso
- public, static, abstract
- Archivo fuente
Span.ant
Herencia
- Clases base
-
AnySpans
Métodos
static method Of<T>(list: System.List<T>) -> System.Span<T>
#
A span of a list's elements (in place: it sees them until the list grows).
static method Sort<T>(span: System.Span<T>) -> void
#
static method IndexOf<T>(span: System.Span<T>, value: T) -> i32
#
static method Contains<T>(span: System.Span<T>, value: T) -> bool
#
static method SequenceEqual<T>(a: System.Span<T>, b: System.Span<T>) -> bool
#
static method Sum<T>(span: System.Span<T>) -> T
#
Miembros heredados (5)
GetTypemétodo de AnyUndescribedmétodo de AnyToStringmétodo de AnyHashmétodo de Anydestroymétodo de Any
Código fuente
Spans en Larva HIR, descompilado a partir de su Larva HIR.
// What spans of comparable, equatable and number elements can do.
public class System.Spans : System.Any
{
// A span of a list's elements (in place: it sees them until the list grows).
static method Of<T>(list: System.List<T>) -> System.Span<T>
static method Sort<T>(span: System.Span<T>) -> void
static method IndexOf<T>(span: System.Span<T>, value: T) -> i32
static method Contains<T>(span: System.Span<T>, value: T) -> bool
static method SequenceEqual<T>(a: System.Span<T>, b: System.Span<T>) -> bool
static method Sum<T>(span: System.Span<T>) -> T
}