Package ca.nengo.config.impl

Examples of ca.nengo.config.impl.ListPropertyImpl


    ConfigurationImpl result = ConfigUtil.defaultConfiguration(this);
    result.removeProperty("basisDimension");
    try {
      Method getter = this.getClass().getMethod("getFunction", new Class[]{Integer.TYPE});
      Method countGetter = this.getClass().getMethod("getBasisDimension", new Class[0]);
      result.defineProperty(new ListPropertyImpl(result, "functions", Function.class, getter, countGetter));     
    } catch (Exception e) {
      throw new RuntimeException("Can't find function-related methods (this is a bug)", e);
    }
    return result;
  }
View Full Code Here

TOP

Related Classes of ca.nengo.config.impl.ListPropertyImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.