Beispiel #1
0
 /// <summary>
 /// Check whether the range has an upper bound.
 /// </summary>
 /// <returns>true if the range has an upper bound, false otherwise.</returns>
 public bool HasUpperBound()
 {
     return(UpperBound.IsClosed());
 }
Beispiel #2
0
 /// <summary>
 /// Check whether the range has a lower bound.
 /// </summary>
 /// <returns>true if the range has a lower bound, false otherwise.</returns>
 public bool HasLowerBound()
 {
     return(LowerBound.IsClosed());
 }