code: public boolean containsRange(final Range<T> other) {
          if (other == null) {
              return false;
          }
  
          return (other.lowerEndpoint.isClosed ? contains(other.lowerEndpoint.value) : lowerEndpoint.value.compareTo(other.lowerEndpoint.value) <= 0)
                  && (other.upperEndpoint.isClosed ? contains(other.upperEndpoint.value) : upperEndpoint.value.compareTo(other.upperEndpoint.value) >= 0);
      }
docs: <p>
  Checks whether this range contains all the elements of the specified range.
  </p>
  
  @param other
  the range to check, null returns false
  @return true if this range contains the specified range
  @throws RuntimeException
  if ranges cannot be compared