code: public static <T extends Comparable<T>> Interval<T> from(final EndPoint.Infinity inf, final T v) throws MIDDException {
          return new Interval<>(inf, v);
      }
docs: Create an interval either be (-inf, v) or (v, +inf)
  @param v
  @param inf
  @param <T>
  @return
  @throws MIDDException