public virtual bool Contains(T item) { return(_lowerBound.LessThan(item) && _upperBound.MoreThan(item)); }
public static bool CheckBounds(IBound <T> lowerBound, IBound <T> upperBound) { return(lowerBound.LessThan(upperBound.Value)); }