CircularListTFindLastIndex(PredicateT) Method
Searches for an element that matches the conditions defined by the specified predicate,
and returns the zero-based index of the last occurrence within the
CircularListT.
Namespace: KGySoft.CollectionsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
public int FindLastIndex(
Predicate<T> match
)
Public Function FindLastIndex (
match As Predicate(Of T)
) As Integer
public:
int FindLastIndex(
Predicate<T>^ match
)
member FindLastIndex :
match : Predicate<'T> -> int
- match PredicateT
- A delegate that defines the conditions of the element to search for.
Int32The zero-based index of the last occurrence of an element that matches the conditions defined by
match, if found; otherwise, –1.
This method performs a linear search; therefore, this method is an O(n) operation.