Examples of keySet()


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

      JsonArray queryJsonArr = new JsonArray();

      HMapSFW scaledPhrase2Weight = null;
      if (phraseWeight > 0) {
        scaledPhrase2Weight = Utils.scaleProbMap(lexProbThreshold, phraseWeight, translation.getPhraseDist());     
        for (String phrase : scaledPhrase2Weight.keySet()) {
          queryJsonArr.add(new JsonPrimitive(scaledPhrase2Weight.get(phrase)));
          queryJsonArr.add(new JsonPrimitive(phrase));
        }
      }
      if (tokenWeight > 0) {

Examples of edu.umd.cloud9.util.map.HMapII.keySet()

    assertEquals(doc2.getNumberOfTypes(), doc1.getNumberOfTypes());
    assertEquals(doc2.getNumberOfTopics(), doc1.getNumberOfTopics());
    assertEquals(hmap2.size(), hmap1.size());
    assertEquals(array2.length, array1.length);

    Iterator<Integer> itr = hmap2.keySet().iterator();
    while (itr.hasNext()) {
      int key = itr.next();
      assertEquals(hmap2.get(key), hmap1.get(key));
    }

Examples of eu.ha3.matmos.engine.core.interfaces.Sheet.keySet()

    for (String sheetName : data.getSheetNames())
    {
      Sheet sheet = data.getSheet(sheetName);
     
      s.append(sheetName + "\n");
      for (String index : sheet.keySet())
      {
        s.append("  " + index + ":" + sheet.get(index) + "\n");
      }
    }
    return s.toString();

Examples of fitnesse.wiki.WikiPageProperty.keySet()

    PageData data = page.getData();
    WikiPageProperties properties = data.getProperties();
    WikiPageProperty symLinks = getSymLinkProperty(properties);
    symLinks.remove(linkToRemove);
    if (symLinks.keySet().size() == 0)
      properties.remove(SymbolicPage.PROPERTY_NAME);
    page.commit(data);
    setRedirect(resource);
  }

Examples of flash.tools.debugger.concrete.PlayerSession.keySet()

    if (session != null)
    {
      PlayerSession psession = (PlayerSession)session;
      sb.append(getLocalizationManager().getLocalizedTextString("key22")); //$NON-NLS-1$
      sb.append('\n');
      for (String key: psession.keySet())
      {
        Object value = psession.getPreferenceAsObject(key);
        sb.append(key);
        sb.append(" = "); //$NON-NLS-1$
        sb.append(value);

Examples of flash.tools.debugger.concrete.PlayerSessionManager.keySet()

    // session manager
    {
      PlayerSessionManager mgr = (PlayerSessionManager)Bootstrap.sessionManager();
      sb.append(getLocalizationManager().getLocalizedTextString("key21")); //$NON-NLS-1$
      sb.append('\n');
      for (String key: mgr.keySet())
      {
        Object value = mgr.getPreferenceAsObject(key);
        sb.append(key);
        sb.append(" = "); //$NON-NLS-1$
        sb.append(value);

Examples of fr.valhalla.mailcheck.utils.EncryptedProperties.keySet()

                        e2.printStackTrace();
                    }
                } catch (IOException e) {
                    e.printStackTrace();
                }
                Iterator i = props.keySet().iterator();
                while (i.hasNext()) {
                    String key = (String) i.next();
                    if (key.substring(0, 4) == null ? "acco" == null : key.substring(0, 4).equals("acco")) {
                        String accountName = props.getProperty(key);
                        // LANCEMENT DU CHECKER ICI

Examples of gate.FeatureMap.keySet()

      theparms.put("mimeType", ((DocumentImpl)document).getMimeType());
      theparms.put("preserveOriginalContent", document.getPreserveOriginalContent());
      theparms.put("stringContent", newText);
      FeatureMap thefeats = Factory.newFeatureMap();
      FeatureMap docfeats = document.getFeatures();
      for(Object k : docfeats.keySet()) {
        thefeats.put(k, docfeats.get(k));
      }

      String theName = document.getName();
      // create a copy of the current document

Examples of gnu.trove.map.TIntLongMap.keySet()

        for ( int i = 0; i < keys.length; i++ ) {
            vals[i] = keys[i] * 2;
            map.put( keys[i], vals[i] );
        }

        TIntSet set = map.keySet();
        int[] sorted_keys = new int[ keys.length ];
        System.arraycopy( keys, 0, sorted_keys, 0, keys.length );
        Arrays.sort( sorted_keys );
        int[] setarray = set.toArray();
        Arrays.sort( setarray );

Examples of hermes.ext.qpid.qmf.QMFObject.keySet()

                if(acceptDestination(queueName)) {
                    DestinationConfig destinationConfig = buildDestinationConfig(queueName);
                    PropertySetConfig propertySetConfig = new PropertySetConfig();

                    for (String key : qmfObject.keySet()) {

                        PropertyConfig propertyConfig = new PropertyConfig();
                        propertyConfig.setName(key);
                        propertyConfig.setValue(qmfObject.getStringValue(key));
                        propertySetConfig.getProperty().add(propertyConfig);
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.