Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Game.CollectionUtils

静态 Public 成员函数

static T ElementAt< T, E > (E enumerator, int index)
static void RandomShuffle< T > (this IList< T > list, Func< int, int > random)
static int FirstIndex< T > (this IEnumerable< T > collection, T value)
static int FirstIndex< T > (this IEnumerable< T > collection, Func< T, bool > predicate)
static T SelectNth< T > (this IList< T > list, int n, IComparer< T > comparer)

详细描述

在文件 CollectionUtils.cs2 行定义.

成员函数说明

◆ ElementAt< T, E >()

T Game.CollectionUtils.ElementAt< T, E > ( E enumerator,
int index )
static
类型限制
E :IEnumerator<T> 

在文件 CollectionUtils.cs3 行定义.

◆ FirstIndex< T >() [1/2]

int Game.CollectionUtils.FirstIndex< T > ( this IEnumerable< T > collection,
Func< T, bool > predicate )
static

在文件 CollectionUtils.cs35 行定义.

◆ FirstIndex< T >() [2/2]

int Game.CollectionUtils.FirstIndex< T > ( this IEnumerable< T > collection,
T value )
static

在文件 CollectionUtils.cs24 行定义.

◆ RandomShuffle< T >()

void Game.CollectionUtils.RandomShuffle< T > ( this IList< T > list,
Func< int, int > random )
static

在文件 CollectionUtils.cs15 行定义.

◆ SelectNth< T >()

T Game.CollectionUtils.SelectNth< T > ( this IList< T > list,
int n,
IComparer< T > comparer )
static

在文件 CollectionUtils.cs46 行定义.


该类的文档由以下文件生成: