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