private bool ObjectIsCompliant(object Object)
{
if(FUseObjectsComparison && !(Object is IComparable))
throw new ArgumentException("The Heap is set to use the IComparable interface of objects, and the object to add does not implement the IComparable interface.");
if(!FAddDuplicates && Contains(Object))
return false;
return true;
}