Examples of entrySet()


Examples of org.nfunk.jep.FunctionTable.entrySet()

    }
  }
 
  private void collectFunctions() {
    FunctionTable functionTable = evaluator.getFunctionTable();
    Set<?> functionEntries = functionTable.entrySet();
    functions = new ArrayList<EvaluatorFacade.Function>(functionEntries.size());
    for (Object object : functionEntries) {
      Entry<?, ?> entry = (Entry<?, ?>) object;
      String functionName = (String) entry.getKey();
      PostfixMathCommandI function = (PostfixMathCommandI) entry.getValue();
View Full Code Here

Examples of org.objectstyle.wolips.eomodeler.core.model.EOModelMap.entrySet()

    _displayGroups = new ArrayList<DisplayGroup>();

    Map<?, ?> variables = _modelMap.getMap("variables");
    if (variables != null) {
      EOModelMap variableMap = new EOModelMap(variables);
      Set<Map.Entry<String, Object>> variableEntries = variableMap.entrySet();
      for (Map.Entry<String, Object> entry : variableEntries) {
        if (entry.getValue() instanceof Map) {
          EOModelMap entryMap = new EOModelMap((Map<?, ?>) entry.getValue());
          String className = entryMap.getString("class", true);
          //XXX This should support subclasses of WODisplayGroup
View Full Code Here

Examples of org.ofbiz.entity.GenericEntity.entrySet()

            if (servicePathObject instanceof Map<?, ?>) {
                servicePathMap = checkMap(servicePathObject);
            } else if (servicePathObject instanceof GenericEntity) {
                GenericEntity servicePathEntity = (GenericEntity)servicePathObject;
                servicePathMap = FastMap.newInstance();
                for (Map.Entry<String, Object> entry: servicePathEntity.entrySet()) {
                    servicePathMap.put(entry.getKey(), entry.getValue());
                }
            } else if (servicePathObject instanceof Collection<?>) {
                Collection<?> servicePathColl = checkCollection(servicePathObject);
                int count=0;
View Full Code Here

Examples of org.ofbiz.entity.GenericPK.entrySet()

                elementName = "map-Map";
            }

            Element element = document.createElement(elementName);
            Map<?,?> value = UtilGenerics.cast(object);
            Iterator<Map.Entry<?, ?>> iter = UtilGenerics.cast(value.entrySet().iterator());

            while (iter.hasNext()) {
                Map.Entry<?,?> entry = iter.next();

                Element entryElement = document.createElement("map-Entry");
View Full Code Here

Examples of org.ofbiz.entity.GenericValue.entrySet()

                elementName = "map-Map";
            }

            Element element = document.createElement(elementName);
            Map<?,?> value = UtilGenerics.cast(object);
            Iterator<Map.Entry<?, ?>> iter = UtilGenerics.cast(value.entrySet().iterator());

            while (iter.hasNext()) {
                Map.Entry<?,?> entry = iter.next();

                Element entryElement = document.createElement("map-Entry");
View Full Code Here

Examples of org.opengis.feature.type.Schema.entrySet()

            if (profile instanceof TypeMappingProfile) {
                name = ((TypeMappingProfile)profile).name(binding);
            }
            else if (profile instanceof Schema){
                Schema schema = (Schema) profile;
                for (Map.Entry<Name,AttributeType> e : schema.entrySet()) {
                    AttributeType at = e.getValue();
                    if (at.getBinding() != null && at.getBinding().equals(binding)) {
                        name = at.getName();
                        break;
                    }
View Full Code Here

Examples of org.openqa.jetty.http.PathMap.entrySet()

            {
                Map.Entry hEntry=(Map.Entry)(i2.next());
                String host=(String)hEntry.getKey();

                PathMap contexts=(PathMap)hEntry.getValue();
                Iterator i3=contexts.entrySet().iterator();
                while(i3.hasNext())
                {
                    Map.Entry cEntry=(Map.Entry)(i3.next());
                    String contextPath=(String)cEntry.getKey();
                    java.util.List contextList=(java.util.List)cEntry.getValue();
View Full Code Here

Examples of org.openstreetmap.osmosis.hstore.PGHStore.entrySet()

  public static Map<String, String> getMap(ResultSet rs, String columnName) throws SQLException {
    Map<String, String> tags = Maps.newHashMap();

    PGHStore dbTags = (PGHStore) rs.getObject(columnName);
    if(dbTags != null) {
      for(Map.Entry<String, String> tagEntry : dbTags.entrySet()) {
        tags.put(tagEntry.getKey(), tagEntry.getValue());
      }
    }

    return tags;
View Full Code Here

Examples of org.pdfclown.documents.NamedDestinations.entrySet()

      else
      {
        System.out.println("Named destinations found (" + namedDestinations.getContainer().getReference() + ")");

        // Parsing the named destinations...
        for(Map.Entry<PdfString,Destination> namedDestination : namedDestinations.entrySet())
        {
          PdfString key = namedDestination.getKey();
          Destination value = namedDestination.getValue();

          System.out.println("Destination '" + key.getValue() + "' (" + value.getContainer().getReference() + ")");
View Full Code Here

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

        }
        else if(operand instanceof PdfDictionary)
        {
          PdfDictionary operandEntries = (PdfDictionary)operand;
          int operandEntryIndex = -1;
          for(Map.Entry<PdfName,PdfDirectObject> operandEntry : operandEntries.entrySet())
          {
            model.addRow(
              new Object[]
              {
                "(operand " + index + "." + (++operandEntryIndex) + ") " + operandEntry.getKey().toString(),
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.