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