CombinedInterpolatorExtrapolator extends Interpolator1D { @Override public Interpolator1DDataBundle getDataBundle(final double[] x, final double[] y) { return _interpolator.getDataBundle(x, y); } CombinedInterpolatorExtrapolator(final Interpolator1D interpolator);  CombinedInterpolatorExtrapolator(final Interpolator1D interpolator, final Interpolator1D extrapolator);  CombinedInterpolatorExtrapolator(final Interpolator1D interpolator, final Interpolator1D leftExtrapolator, final Interpolator1D rightExtrapolator); @Override Interpolator1DDataBundle getDataBundle(final double[] x, final double[] y); @Override Interpolator1DDataBundle getDataBundleFromSortedArrays(final double[] x, final double[] y); Interpolator1D getInterpolator(); Interpolator1D getLeftExtrapolator(); Interpolator1D getRightExtrapolator(); @Override Double interpolate(final Interpolator1DDataBundle data, final Double value); @Override double firstDerivative(final Interpolator1DDataBundle data, final Double value); @Override double[] getNodeSensitivitiesForValue(final Interpolator1DDataBundle data, final Double value); @Override String toString();  }
@Test public void testDataBundleType1() { assertEquals(INTERPOLATOR.getDataBundle(X, Y).getClass(), ArrayInterpolator1DDataBundle.class); }