Package org.nlogo.api

Examples of org.nlogo.api.Primitive


    }
    return null;
  }

  public Primitive replaceIdentifier(String name) {
    Primitive prim = null;
    boolean qualified = name.indexOf(':') != -1;

    // Locate the class in all the loaded Jars
    Iterator<Map.Entry<String, JarContainer>> entries = jars.entrySet().iterator();
View Full Code Here


    while (values.hasNext()) {
      theJarContainer = values.next();
      Iterator<String> k = theJarContainer.primManager.getPrimitiveNames();
      while (k.hasNext()) {
        String name = k.next();
        Primitive p = theJarContainer.primManager.getPrimitive(name);
        String type = (p instanceof org.nlogo.api.Reporter ? "Reporter" : "Command");
        pstr += theJarContainer.prefix + "\t" + name + "\t" + type + "\n";
      }
    }
View Full Code Here

TOP

Related Classes of org.nlogo.api.Primitive

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.