Tanis.Collections.Heap.Contains C# (CSharp) Method

Contains() public method

IList implementation. Search for a specified object in the list. If the list is sorted, a BinarySearch is performed using IComparer interface. Else the Object.Equals implementation is used.
public Contains ( object O ) : bool
O object The object to look for
return bool
		public bool Contains(object O)
		{
			return FList.BinarySearch(O, FComparer)>=0;
		}