Package java.util

Examples of java.util.HashMap.values()


                    }
                    l.add(test);
                }
            }
        }
        return testConfigurations.values();
    }

    /**
     * Logs information about failed tests, potentially stops
     * processing (by throwing a BuildException) if a failure/error
View Full Code Here


    public Collection recover(XidFactory xidFactory) throws LogException {
        Map copy = new HashMap(prepared);
        copy.keySet().removeAll(committed);
        copy.keySet().removeAll(rolledBack);
        return copy.values();
    }

    public String getXMLStats() {
        return null;
    }
View Full Code Here

    }

    // convert index map to FsIndexCollection
    FsIndexCollection aggIndexColl = UIMAFramework.getResourceSpecifierFactory()
            .createFsIndexCollection();
    Collection indexes = aggIndexes.values();
    FsIndexDescription[] indexArray = new FsIndexDescription[indexes.size()];
    indexes.toArray(indexArray);
    aggIndexColl.setFsIndexes(indexArray);
    return aggIndexColl;
  }
View Full Code Here

        HashMap services = configurationContext.getAxisConfiguration().getServices();
        AxisService service = null;
        String serviceName = null;
       
        if(services.size() == 1){
          service = (AxisService)(services.values().iterator().next());
          serviceName = (String)(services.keySet().iterator().next());
        }else { // can't be happen
          log.error("Invalid service configurations ");
          throw new RuntimeException("Invalid Configuration");
        }
View Full Code Here

            for (Iterator iterator = attributes.iterator(); iterator.hasNext();) {
                GAttributeInfo attribute = (GAttributeInfo) iterator.next();
                map.put(attribute.getName(), attribute);
            }
            this.attributesByName = Collections.unmodifiableMap(map);
            this.attributes = Collections.unmodifiableSet(new HashSet(map.values()));
        }
        if (constructor == null) {
            this.constructor = new GConstructorInfo(Collections.EMPTY_LIST);
        } else {
            this.constructor = constructor;
View Full Code Here

        root.addDependencies(artifacts, remoteRepositories, filter);
        recurse(root, resolvedArtifacts, managedVersions, localRepository,
                remoteRepositories, source, filter, listeners);

        Set set = new HashSet();
        for (Iterator i = resolvedArtifacts.values().iterator(); i.hasNext();) {
            List nodes = (List) i.next();
            for (Iterator j = nodes.iterator(); j.hasNext();) {
                ResolutionNode node = (ResolutionNode) j.next();
                Artifact artifact = node.getArtifact();
                if (!node.equals(root) && node.isActive() && node.filterTrail(filter)
View Full Code Here

                    methodBySigniture.put(sig, method);
                }
            }
            searchType = searchType.getSuperclass();
        }
        return (Method[]) methodBySigniture.values().toArray(new Method[methodBySigniture.size()]);
    }

    public static String getSignature(Method method) {
        String name = method.getName();
        Class returnType = method.getReturnType();
View Full Code Here

        }
        if(event.type == INodeNotifier.ADD) {
          addToMap(event.newValue, event, notifyEvents);
        }
      }
      Iterator it = notifyEvents.values().iterator();
      while (it.hasNext()) {
        NotifyEvent[] es = (NotifyEvent[]) it.next();
        for (int i = 0; i < es.length - 1; i++) {
          NotifyEvent event = es[i];
          if(es[i].discarded) continue;
View Full Code Here

   

    HashMap axisServices = configContext.getAxisConfiguration().getServices();
   
    AxisService service = null;
    Iterator values = axisServices.values().iterator();
    while(values.hasNext())
      service = (AxisService)values.next();

    // Set the Sequence timout property to 1 second.
    Iterator operations = service.getOperations();
View Full Code Here

    ServiceClient serviceClient = new ServiceClient (configContext,null);   

    HashMap axisServices = configContext.getAxisConfiguration().getServices();
   
    AxisService service = null;
    Iterator values = axisServices.values().iterator();
    while(values.hasNext())
      service = (AxisService)values.next();

    // Set the Sequence timout property to 1 second.
    Iterator operations = service.getOperations();
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.