class · System

Lists

public class System.Lists : System.Any

What List<T> offers when its items can be compared or tested for equality.

Tipo
class
Espacio de nombres
System
Ensamblado
System.Core
Acceso
public, static, abstract
Archivo fuente
Array.ant

Herencia

Clases base
Any Lists

Métodos

static method Sum<T>(list: System.List<T>) -> T
#

static

The total of a list of numbers (0 when empty).

static method Min<T>(list: System.List<T>) -> T
#

static

The smallest and largest; the list must not be empty.

static method Max<T>(list: System.List<T>) -> T
#

static

static method Average<T>(list: System.List<T>) -> f64
#

static

static method Sort<T>(list: System.List<T>) -> void
#

static

static method IndexOf<T>(list: System.List<T>, value: T) -> i32
#

static

static method Contains<T>(list: System.List<T>, value: T) -> bool
#

static

static method Remove<T>(list: System.List<T>, value: T) -> bool
#

static

Takes out the first item equal to value; false when there is none.

Miembros heredados (5)

Código fuente

Lists en Larva HIR, descompilado a partir de su Larva HIR.

System.Lists.hir
// What List<T> offers when its items can be compared or tested for equality.
public class System.Lists : System.Any
{
    // The total of a list of numbers (0 when empty).
    static method Sum<T>(list: System.List<T>) -> T
    // The smallest and largest; the list must not be empty.
    static method Min<T>(list: System.List<T>) -> T
    static method Max<T>(list: System.List<T>) -> T
    static method Average<T>(list: System.List<T>) -> f64
    static method Sort<T>(list: System.List<T>) -> void
    static method IndexOf<T>(list: System.List<T>, value: T) -> i32
    static method Contains<T>(list: System.List<T>, value: T) -> bool
    // Takes out the first item equal to `value`; false when there is none.
    static method Remove<T>(list: System.List<T>, value: T) -> bool
}
Esc