Class ListUtils

Class ListUtils

이름 공간 : Aspose.Tasks.Util 모임: Aspose.Tasks.dll (25.4.0)

목록 처리에 대한 유용성 클래스.

public static class ListUtils

Inheritance

object ListUtils

상속 회원들

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Methods

응용 (엘리트 T>, 이알고리즘 , 는 int)

지정된 위치에서 시작하는 각 목록 요소에 대한 알고리즘을 적용합니다.

public static void Apply<t>(IList<t> list, IAlgorithm<t> algorithm, int startIndex)

Parameters

list IList

프로세스에 대한 목록

algorithm IAlgorithm

적용된 알고리즘

startIndex int

기본 위치를 시작합니다.

파라미터 유형

T

개체의 유형은 알고리즘을 적용하는 것입니다.

필터 T>(엘리트 T>, 조건에 대하여 )

특정 조건에 따라 필터 목록 요소.

public static IList<t> Filter<t>(IList<t> list, ICondition<t> cond)

Parameters

list IList

처리할 수 있는 목록입니다.

cond ICondition

지정된 목록을 필터링하는 데 사용되는 조건.

Returns

IList

필터링된 목록

파라미터 유형

T

필터를 적용하는 개체의 유형.

찾기 T>(엘리트 T>, 조건에 대하여 )

지정된 상태를 충족시키는 목록 요소의 첫 출현을 찾으십시오.

public static T Find<t>(IList<t> list, ICondition<t> cond)

Parameters

list IList

처리할 수 있는 목록입니다.

cond ICondition

지정된 목록에서 요소를 찾는 데 사용되는 조건.

Returns

T

목록 요소 또는 null.

파라미터 유형

T

찾을 수 있는 물체의 종류

 한국어