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

Equals() public method

Object.Equals() override.
public Equals ( object Object ) : bool
Object object
return bool
		public override bool Equals(object Object)
		{
			Heap SL = (Heap)Object;
			if ( SL.Count!=Count ) 
				return false;
			for (int i=0; i<Count; i++)
				if ( !SL[i].Equals(this[i]) ) 
					return false;
			return true;
		}