class · System
Lists
public class System.Lists : System.Any
What List<T> offers when its items can be compared or tested for equality.
- Kind
- class
- Namespace
- System
- Assembly
- System.Core
- Access
- public, static, abstract
- Source file
Array.ant
Inheritance
- Base classes
-
AnyLists
Methods
static method Sum<T>(list: System.List<T>) -> T
#
The total of a list of numbers (0 when empty).
static method Min<T>(list: System.List<T>) -> T
#
The smallest and largest; the list must not be empty.
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
#
static method Remove<T>(list: System.List<T>, value: T) -> bool
#
Takes out the first item equal to value; false when there is none.
Inherited members (5)
GetTypemethod from AnyUndescribedmethod from AnyToStringmethod from AnyHashmethod from Anydestroymethod from Any
Source
Lists as Larva HIR, decompiled from its Larva 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
}