CircularListTContains Method

Determines whether the list contains the specific item.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public bool Contains(
	T item
)

Parameters

item  T
The object to locate in the CircularListT.

Return Value

Boolean
if item is found in the CircularListT; otherwise, .

Implements

ICollectionTContains(T)

Remarks

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

See Also