CircularListTExists Method

Determines whether the CircularListT contains elements that match the conditions defined by the specified predicate.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public bool Exists(
	Predicate<T> match
)

Parameters

match  PredicateT
The delegate that defines the conditions of the elements to search for.

Return Value

Boolean
if the list contains one or more elements that match the conditions defined by the specified predicate; otherwise, .

Remarks

This method performs a linear search; therefore, this method is an O(n) operation.

See Also