code: public boolean contains(T query){
  		if (isEmpty() || query == null) {
  			return false;
  		}
  
  		int startCompare = start == null ? 1 : query.compareTo(start);
  		int endCompare = end == null ? -1 : query.compareTo(end);
  		if (startCompare > 0 && endCompare < 0) {
  			return true;
  		}
  		return (startCompare == 0 && isStartInclusive) || (endCompare == 0 && isEndInclusive);
  	}
docs: Determines if the current interval contains a query point.
  
  @param query The point.
  @return {@code true}, if the current interval contains the {@code query} point or false otherwise.