Example usage for org.apache.commons.lang NotImplementedException NotImplementedException

List of usage examples for org.apache.commons.lang NotImplementedException NotImplementedException

Introduction

In this page you can find the example usage for org.apache.commons.lang NotImplementedException NotImplementedException.

Prototype

public NotImplementedException() 

Source Link

Document

Constructs a new NotImplementedException with default message.

Usage

From source file:com.pinterest.pinlater.backends.redis.DummyRandom.java

public float nextFloat() {
    throw new NotImplementedException();
}

From source file:AIR.Common.Web.Session.HttpContext.java

public boolean isAuthenticated() {
    // todo: needs to be implemented.
    throw new NotImplementedException();
}

From source file:ch.bfh.srs.srv.service.ReservationService.java

public List<Reservation> getReservationsByUserId(int userId) {
    throw new NotImplementedException();
}

From source file:edu.berkeley.ground.db.PostgresResults.java

public String getString(String field) throws GroundException {
    throw new NotImplementedException();
}

From source file:io.pravega.controller.mocks.EventStreamWriterMock.java

@Override
public EventWriterConfig getConfig() {
    throw new NotImplementedException();
}

From source file:com.opengamma.analytics.financial.greeks.AbstractGreekVisitor.java

@Override
public T visitPrice() {
    throw new NotImplementedException();
}

From source file:com.qcloud.project.macaovehicle.dao.mysql.VehicleDaoMysqlImpl.java

@Override
public Map<Long, Vehicle> map(Set<Long> idSet) {

    throw new NotImplementedException();
}

From source file:com.neelo.glue.st.Tool.java

public void putAll(Map<? extends String, ? extends String> m) {
    throw new NotImplementedException();
}

From source file:com.opengamma.analytics.math.function.PiecewisePolynomialWithSensitivityFunction1D.java

/** 
 * @param pp {@link PiecewisePolynomialResultsWithSensitivity}
 * @param xKey /*from   w w  w. j av  a2 s. co  m*/
 * @return Node sensitivity value at x=xKey
 */
public DoubleMatrix1D nodeSensitivity(final PiecewisePolynomialResultsWithSensitivity pp, final double xKey) {
    ArgumentChecker.notNull(pp, "null pp");
    ArgumentChecker.isFalse(Double.isNaN(xKey), "xKey containing NaN");
    ArgumentChecker.isFalse(Double.isInfinite(xKey), "xKey containing Infinity");

    if (pp.getDimensions() > 1) {
        throw new NotImplementedException();
    }

    final double[] knots = pp.getKnots().getData();
    final int nKnots = knots.length;
    int interval = FunctionUtils.getLowerBoundIndex(knots, xKey);
    if (interval == nKnots - 1) {
        interval--; // there is 1 less interval that knots
    }

    final double s = xKey - knots[interval];
    final DoubleMatrix2D a = pp.getCoefficientSensitivity(interval);
    final int nCoefs = a.getNumberOfRows();

    DoubleMatrix1D res = a.getRowVector(0);
    for (int i = 1; i < nCoefs; i++) {
        res = (DoubleMatrix1D) MA.scale(res, s);
        res = (DoubleMatrix1D) MA.add(res, a.getRowVector(i));
    }

    return res;
}

From source file:com.xpn.xwiki.internal.template.ClassloaderResource.java

@Override
public String getURL(boolean forceSkinAction) throws Exception {
    // Does not make any sense in this case
    throw new NotImplementedException();
}