My Project v1
Project
载入中...
搜索中...
未找到
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)
 

成员函数说明

◆ ElementAt< T, E >()

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

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

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

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

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

◆ RandomShuffle< T >()

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

◆ SelectNth< T >()

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

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