Examples of keySet()


Examples of com.clearnlp.util.map.Prob2DMap.keySet()

   
    while ((tree = reader.next()) != null)
      extractVerbPPAux(tree, map);
   
    PrintStream fout = UTOutput.createPrintBufferedFileStream(args[1]);
    List<String> verbs = Lists.newArrayList(map.keySet());
    Collections.sort(verbs);
    StringIntPair[] ps;
   
    for (String verb : verbs)
    {

Examples of com.complexible.common.util.EnhancedProperties.keySet()

    while (aProps.containsKey(aIndex+"."+KEY_NAME)) {
      String aPrefix = aIndex+".";
      Map<String, String> aUnit = new HashMap<String, String>();
     
      for (Object aOrigKey : Collections2.filter(aProps.keySet(), new PrefixPredicate(aPrefix))) {
        String aKey = aOrigKey.toString();

        aKey = aKey.substring(aPrefix.length());

        aUnit.put(aKey, aProps.getProperty(aOrigKey.toString()));

Examples of com.elondra.rp.Properties.keySet()

            for( final Iterator i = consolidated.keySet().iterator(); i.hasNext(); )
            {
                final String language = (String) i.next();
                final Properties lang = (Properties) consolidated.get( language );
                System.out.println( "Processing language: " + language + ", " + lang.size() + " entries" );
                for( final Iterator j = lang.keySet().iterator(); j.hasNext(); )
                {
                    final String key = (String) j.next();
                    final String value = lang.getProperty( key );
                    index.insertObject( language + "#" + key, value );
                }

Examples of com.esri.gpt.framework.collection.StringAttributeMap.keySet()

  if (protocol!=null) {
    String sDest = getDestinations(protocol);
    sb.append("<protocol type=\"").append(protocol.getKind()).append("\" flags=\"").append(protocol.getFlags()).append("\"").append(sDest!=null? " destinations=\"" +sDest+ "\"": "").append(" adHoc=\"" +protocol.getAdHoc()+ "\"").append(">");

    StringAttributeMap attributes = protocol.extractAttributeMap();
    for (String key : attributes.keySet()) {
      StringAttribute value = attributes.get(key);
      sb.append("<").append(key).append(">").append(value.getValue()).
          append("</").append(key).append(">");
    }

Examples of com.esri.gpt.framework.security.principal.Roles.keySet()

  }
  groupsJson += " ] , ";

  String rolesJson = " \"selectableRoles\" : [";
  Roles roles = buildSelectableRoles(context);
  sortedKeys=new ArrayList<String>(roles.keySet());
  Collections.sort(sortedKeys);
  boolean firstRole = true;
  for(int i=0; i <sortedKeys.size(); i++){
    Role role = roles.get(sortedKeys.get(i));
    String roleDn = Val.chkStr(role.getDistinguishedName());

Examples of com.esri.gpt.framework.security.principal.UserAttributeMap.keySet()

*/
protected String serializeUserAsJson(RequestContext context,User user) throws IdentityException, NamingException{
  String usersJson = "{ \"attributes\": [";
  UserAttributeMap attributes = user.getProfile();
  boolean first = true;
  List<String> sortedKeys=new ArrayList<String>(attributes.keySet());
  // Collections.sort(sortedKeys); TODO to sort or not ?
  for(int i=0; i <sortedKeys.size(); i++){
    UserAttribute attr = attributes.get(sortedKeys.get(i));
    String key = Val.chkStr(msgBroker.retrieveMessage("catalog.identity.profile.label." + attr.getKey()));
    String value = "";     

Examples of com.esri.ontology.service.catalog.OntClassMap.keySet()

        classMap.put(cat, ontCtx.getModel().getOntClass(code));
      }
    }

    int numberrecord = 0;
    Iterator<String> CatOnt = classMap.keySet().iterator();
    while (CatOnt.hasNext()) {
      String key = CatOnt.next();
      OntTools.Path path =
        OntTools.findShortestPath(ontCtx.getModel(), search, classMap.get(key),
        Filter.any);

Examples of com.eviware.soapui.support.types.StringToStringMap.keySet()

    builder.addString( PASSWORD, "-P" );

    try
    {
      StringToStringMap nsMappings = StringToStringMap.fromXml( values.get( NAMESPACE_MAPPING ) );
      for( String namespace : nsMappings.keySet() )
      {
        builder.addArgs( "-N" + namespace + "=" + nsMappings.get( namespace ) );
      }
    }
    catch( Exception e )

Examples of com.eviware.soapui.support.types.StringToStringsMap.keySet()

    monitor.fireAfterProxy( request, response, postMethod, capturedData );

    StringToStringsMap responseHeaders = capturedData.getResponseHeaders();
    // copy headers to response
    HttpServletResponse httpResponse = ( HttpServletResponse )response;
    for( String name : responseHeaders.keySet() )
    {
      for( String header : responseHeaders.get( name ) )
        httpResponse.addHeader( name, header );

    }

Examples of com.gargoylesoftware.htmlunit.javascript.configuration.JavaScriptConfiguration.keySet()

        // put custom object to be called as very last prototype to call the fallback getter (if any)
        final Scriptable fallbackCaller = new FallbackCaller();
        ScriptableObject.getObjectPrototype(window).setPrototype(fallbackCaller);

        for (final String jsClassName : jsConfig.keySet()) {
            final ClassConfiguration config = jsConfig.getClassConfiguration(jsClassName);
            final boolean isWindow = Window.class.getName().equals(config.getLinkedClass().getName());
            if (isWindow) {
                configureConstantsPropertiesAndFunctions(config, window);
            }
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.