Examples of entrySet()


Examples of de.danet.an.workflow.omgcore.ProcessDataInfo.entrySet()

                String[] ids = managerNameFilter.split("/");
                ProcessMgr mgr = pdd.processMgr(ids[0], ids[1]);
                ProcessDataInfo pdi = mgr.contextSignature();
                contextVariables = new ArrayList ();
                contextVariables.add(new SelectItem (""));
                for (Iterator i = pdi.entrySet().iterator(); i.hasNext();) {
                    Map.Entry e = (Map.Entry)i.next();
                    if (e.getValue().equals(String.class)) {
                        contextVariables.add (new SelectItem (e.getKey()));
                    }
                }
View Full Code Here

Examples of de.innovationgate.wgpublisher.webtml.utils.VarParamsMap.entrySet()

            getTMLContext().getlog().warn("Var params for wrong session used by client " + getPageContext().getRequest().getRemoteAddr() + ". Not used.");
            return;
        }
       
        getTMLContext().getrequest().setAttribute(WGACore.ATTRIB_VAR_PARAMETERS, varParams);       
        for (Map.Entry<String,Object> param : varParams.entrySet()) {
            getTMLContext().setvar(param.getKey(), param.getValue());
        }
        
    }
View Full Code Here

Examples of edu.brown.markov.containers.MarkovGraphsContainer.entrySet()

        if (trace.val) LOG.trace(String.format("Generating MarkovGraphs for %d partitions", costmodel_latch.getCount()));
       
        for (final int partition : this.all_partitions) {
            final MarkovGraphsContainer markovs = state.markovs_per_partition[partition];
            if (trace.val) LOG.trace(String.format("Calculating Partition #%d probabilities for %d clusters", partition, markovs.size()));
            for (Entry<Integer, Map<Procedure, MarkovGraph>> e : markovs.entrySet()) {
                // if (debug.val) LOG.debug(String.format("Partition %d - Cluster %d", partition, i++));
               
                // Calculate the probabilities for each graph
                for (MarkovGraph markov : e.getValue().values()) {
                    markov.calculateProbabilities(catalogContext.getAllPartitionIds());
View Full Code Here

Examples of edu.stanford.ppl.concurrent.SnapTreeMap.entrySet()

    /**
     * entrySet contains all pairs
     */
    public void testEntrySet() {
        SnapTreeMap map = map5();
        Set s = map.entrySet();
        assertEquals(5, s.size());
        Iterator it = s.iterator();
        while (it.hasNext()) {
            Map.Entry e = (Map.Entry) it.next();
            assertTrue(
View Full Code Here

Examples of edu.umd.cloud9.io.map.HMapIFW.entrySet()

      globalStatsMap.loadDFStats(new Path(dfByTermFile), fs2);

      HMapIFW transDfTable = CLIRUtils.translateDFTable(eVocab_e2f, fVocab_e2f, en2DeProbs, globalStatsMap);

      SequenceFile.Writer writer = SequenceFile.createWriter(fs2, conf, new Path(transDfFile), IntWritable.class, FloatWritable.class);
      for(MapIF.Entry term : transDfTable.entrySet()){
        reporter.incrCounter(DF.TransDf, 1);
        writer.append(new IntWritable(term.getKey()), new FloatWritable(term.getValue()));
      }
      writer.close();
    }
View Full Code Here

Examples of edu.umd.cloud9.io.map.HMapSFW.entrySet()

      return token;
    }

    float maxProb = 0f;
    String maxProbTrans = null;
    for (edu.umd.cloud9.util.map.MapKF.Entry<String> entry : probDist.entrySet()) {
      if (entry.getValue() > maxProb) {
        maxProb = entry.getValue();
        maxProbTrans = entry.getKey();
      }
    }
View Full Code Here

Examples of flex.messaging.io.amf.ASObject.entrySet()

        System.out.println(((ASObject) object).getType());
    AMFTreeTableNode objectsNode = new AMFTreeTableNode(new AMFData("", ((ASObject) object).getType(), "", message));
    node.add(objectsNode);
    ASObject o = ((ASObject) object);

    Iterator it = o.entrySet().iterator();
    while (it.hasNext()) {
        Map.Entry pairs = (Map.Entry) it.next();
        Object getValue = pairs.getValue();
        if (getValue instanceof Object[]) {
      Object[] array = (Object[]) getValue;
View Full Code Here

Examples of foodev.jsondiff.jsonwrap.JzonObject.entrySet()

  boolean accept(Leaf leaf, JzonArray instructions, JzonObject childPatch) {
    JzonObject object = (JzonObject) factory.parse(leaf.val.toString());
    JzonObject patch = factory.createJsonObject();
    patch.add(MOD, instructions);
    if (!childPatch.entrySet().isEmpty()) {
      patch.entrySet().addAll((Collection) childPatch.entrySet());
    }
    apply(object, patch);
    return visitor.shouldCreatePatch(leaf.val.unwrap(), object.unwrap());
  }
View Full Code Here

Examples of games.stendhal.server.util.ItemCollection.entrySet()

        null);
   
    //add transition for each item
    final ItemCollection items = new ItemCollection();
    items.addFromQuestStateString(NEEDED_ITEMS);
    for (final Map.Entry<String, Integer> item : items.entrySet()) {
      npc.add(ConversationStates.QUESTION_1, item.getKey(), null,
          ConversationStates.QUESTION_1, null,
          new CollectRequestedItemsAction(
              item.getKey(), QUEST_SLOT,
              "Good, do you have anything else?",
View Full Code Here

Examples of gluebooster.basic.collections.BoostedProperties.entrySet()

  private static BoostedProperties evaluateProperties(Properties properties){
    // evaluate profile properties
    BoostedProperties result = new BoostedProperties();
    result.putAll(properties);
    StringBuilder documentation = new StringBuilder();
    for (Entry<Object, Object>entry: result.entrySet()){
      Pair<String, String>  separation =  extractDeveloperDocumentation(entry.getValue().toString());
      if (separation.getRight() != null){ //if there is a developer documentation
        result.getAttributes().getMap().put(GeneralConstants.USE_IN_DOCUMENTATION, Boolean.TRUE);       
       
        documentation.append("Property " + entry.getKey() + "= " + separation.getLeft() + " : " + separation.getRight());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.