/**
 * Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
 *
 * Please see distribution for license.
 */
package com.opengamma.strata.function.extrapolator;

import com.opengamma.analytics.math.interpolation.Extrapolator1D;
import com.opengamma.analytics.math.interpolation.LinearExtrapolator1D;
import com.opengamma.analytics.math.interpolation.LogLinearExtrapolator1D;
import com.opengamma.analytics.math.interpolation.ProductPolynomialExtrapolator1D;
import com.opengamma.analytics.math.interpolation.QuadraticPolynomialLeftExtrapolator;
import com.opengamma.analytics.math.interpolation.ReciprocalExtrapolator1D;
import com.opengamma.strata.basics.extrapolator.CurveExtrapolator;

/**
 * The standard set of curve extrapolators.
 * <p>
 * These are referenced from {@link CurveExtrapolators} where their name is used to look up an
 * instance of {@link CurveExtrapolator}. This allows them to be referenced statically like a
 * constant but also allows them to be redefined and new instances added.
 * <p>
 * The extrapolators are all implementations of {@link Extrapolator1D} for compatibility with legacy code.
 * This should be regarded as an implementation detail and is likely to change soon.
 */
final class StandardCurveExtrapolators {

  /** Factory for creating linear extrapolators. */
  public static final CurveExtrapolator LINEAR = new LinearExtrapolator1D();

  /** Factory for creating log linear extrapolators. */
  public static final CurveExtrapolator LOG_LINEAR = new LogLinearExtrapolator1D();

  /** Factory for creating quadratic left extrapolators. */
  public static final CurveExtrapolator QUADRATIC_LEFT = new QuadraticPolynomialLeftExtrapolator();

  /** Factory for creating product polynomial extrapolators. */
  public static final CurveExtrapolator PRODUCT_POLYNOMIAL = new ProductPolynomialExtrapolator1D();

  /** Factory for creating reciprocal extrapolators. */
  public static final CurveExtrapolator RECIPROCAL = new ReciprocalExtrapolator1D();

  // Private constructor as this class only exists to hold the extrapolator factory constants
  private StandardCurveExtrapolators() {
  }
}

@@ -1280,38 +1280,17 @@
 %0A%0A  /** 
-Factory for creating l
+L
 inear ex
@@ -1291,33 +1291,32 @@
 ear extrapolator
-s
 . */%0A  public st
@@ -1392,30 +1392,9 @@
 /** 
-Factory for creating l
+L
 og l
@@ -1403,33 +1403,32 @@
 ear extrapolator
-s
 . */%0A  public st
@@ -1511,30 +1511,9 @@
 /** 
-Factory for creating q
+Q
 uadr
@@ -1526,33 +1526,32 @@
 eft extrapolator
-s
 . */%0A  public st
@@ -1650,30 +1650,9 @@
 /** 
-Factory for creating p
+P
 rodu
@@ -1669,33 +1669,32 @@
 ial extrapolator
-s
 . */%0A  public st
@@ -1793,30 +1793,9 @@
 /** 
-Factory for creating r
+R
 ecip
@@ -1812,17 +1812,16 @@
 apolator
-s
 . */%0A  p
@@ -1903,16 +1903,16 @@
 r1D();%0A%0A
+
   // Pri
@@ -1983,16 +1983,8 @@
 tor 
-factory 
 cons

Fix Javadoc