Package rlVizLib.messaging.interfaces

Examples of rlVizLib.messaging.interfaces.getEnvMaxMinsInterface


  }

  @Override
  public String handleAutomatically(EnvironmentInterface theEnvironment) {
   
    getEnvMaxMinsInterface castedEnv = (getEnvMaxMinsInterface)theEnvironment;
    //      //Handle a request for the ranges
    Vector<Double> mins = new Vector<Double>();
    Vector<Double> maxs = new Vector<Double>();

    int numVars=castedEnv.getNumVars();

    for(int i=0;i<numVars;i++){
      mins.add(castedEnv.getMinValueForQuerableVariable(i));
      maxs.add(castedEnv.getMaxValueForQuerableVariable(i));
    }

    EnvRangeResponse theResponse=new EnvRangeResponse(mins, maxs);

    return theResponse.makeStringResponse();
View Full Code Here

TOP

Related Classes of rlVizLib.messaging.interfaces.getEnvMaxMinsInterface

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.