Examples of keySet()


Examples of org.openstreetmap.josm.data.osm.Way.keySet()

            if( m.hasRole() && "outer".equals(m.getRole()) && m.isWay() && m.getWay().hasKeys() ) {
                Way way = m.getWay();
                outerWays.add(way);

                for( String key : way.keySet() ) {
                    if( !values.containsKey(key) ) { //relation values take precedence
                        values.put(key, way.get(key));
                    } else if( !relation.hasKey(key) && !values.get(key).equals(way.get(key)) ) {
                        conflictingKeys.add(key);
                    }

Examples of org.pdfclown.documents.contents.XObjectResources.keySet()

      Resources resources = page.getResources();
      XObjectResources xObjects = resources.getXObjects();
      if(xObjects == null)
        continue;

      for(PdfName xObjectKey : xObjects.keySet())
      {
        XObject xObject = xObjects.get(xObjectKey);
        // Is the page's resource an image?
        if(xObject instanceof ImageXObject)
        {

Examples of org.pdfclown.objects.PdfDictionary.keySet()

    // 1. Showing basic page information...
    System.out.println(" Index (calculated): " + page.getIndex() + " (should be " + index + ")");
    System.out.println(" ID: " + ((PdfReference)page.getBaseObject()).getId());
    PdfDictionary pageDictionary = page.getBaseDataObject();
    System.out.println(" Dictionary entries:");
    for(PdfName key : pageDictionary.keySet())
    {System.out.println("  " + key.getValue());}

    // 2. Showing page contents information...
    Contents contents = page.getContents();
    System.out.println(" Content objects count: " + contents.size());

Examples of org.pentaho.platform.plugin.services.importexport.exportManifest.Parameters.keySet()

      for ( ExportManifestMondrian exportManifestMondrian : mondrianList ) {

        String catName = exportManifestMondrian.getCatalogName();
        Parameters parametersMap = exportManifestMondrian.getParameters();
        StringBuilder parametersStr = new StringBuilder();
        for ( String s : parametersMap.keySet() ) {
          parametersStr.append( s ).append( "=" ).append( parametersMap.get( s ) ).append( sep );
        }

        RepositoryFileImportBundle.Builder bundleBuilder =
            new RepositoryFileImportBundle.Builder().charSet( "UTF_8" ).hidden( false ).name( catName ).overwriteFile(

Examples of org.pentaho.reporting.libraries.base.util.HashNMap.keySet()

    }

    logger.info("Validated " + allExpressions.length + " expressions. Invalid: " +
        invalidExpressionsCounter + " Deprecated: " + deprecatedExpressionsCounter);

    final Object[] keys = expressionsByGroup.keySet().toArray();
    Arrays.sort(keys);
    for (int i = 0; i < keys.length; i++)
    {
      final Object key = keys[i];
      logger.info("Group: '" + key + "' Size: " + expressionsByGroup.getValueCount(key));

Examples of org.python.core.PyDictionary.keySet()

                if (options != null) {
                    metadata = new HashMap();
                    metadata.put(Parameter.OPTIONS, options);
                }
                // map every other key as parameter metadata entry
                HashSet<String> otherKeys = new HashSet<String>(meta.keySet());
                otherKeys.remove("min");
                otherKeys.remove("max");
                otherKeys.remove("domain");
                if(!otherKeys.isEmpty()) {
                    if (metadata == null) {

Examples of org.quartz.JobDataMap.keySet()

   
    System.out.println("begin "+this.getClass().getName()+" @ "+new Date());

    JobDataMap jobDataMap = context.getMergedJobDataMap();
    System.out.println("---------------------Begin Merged Map-------------------");
    for(Object key:jobDataMap.keySet()){
      System.out.println(key+":"+jobDataMap.get(key));
    }
    System.out.println("---------------------End Merged Map-------------------");
    System.out.println("int:"+testInt);
    System.out.println("double:"+testDouble);

Examples of org.reflections.Store.keySet()

    private Document createDocument(final Reflections reflections) {
        Store map = reflections.getStore();

        Document document = DocumentFactory.getInstance().createDocument();
        Element root = document.addElement("Reflections");
        for (String indexName : map.keySet()) {
            Element indexElement = root.addElement(indexName);
            for (String key : map.get(indexName).keySet()) {
                Element entryElement = indexElement.addElement("entry");
                entryElement.addElement("key").setText(key);
                Element valuesElement = entryElement.addElement("values");

Examples of org.rhq.core.util.updater.FileHashcodeMap.keySet()

                int totalExternalFiles = 0;
                ArrayList<String> externalDeleteSuccesses = new ArrayList<String>(0);
                ArrayList<String> externalDeleteFailures = new ArrayList<String>(0);
                FileHashcodeMap deployDirFileHashcodes = metadata.getCurrentDeploymentFileHashcodes();
                for (String filePath : deployDirFileHashcodes.keySet()) {
                    File file = new File(filePath);
                    if (file.isAbsolute()) {
                        totalExternalFiles++;
                        if (file.exists()) {
                            if (file.delete()) {

Examples of org.rhq.helpers.perftest.support.jpa.mapping.ColumnValuesTableMap.keySet()

        ColumnValuesTableMap resolution = resolve(connection, inclusionResolver, primaryPks);
        RESOLUTION_IN_CONSTRUCTOR.set(resolution);

        Set<String> tables = new HashSet<String>();

        for (String t : resolution.keySet()) {
            tables.add(t.toLowerCase());
        }
        return tables.toArray(new String[tables.size()]);
    }
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.