Examples of entrySet()


Examples of com.sun.net.httpserver.Headers.entrySet()

    private InBoundHeaders getHeaders(HttpExchange exchange) {
        InBoundHeaders rh = new InBoundHeaders();
       
        Headers eh = exchange.getRequestHeaders();
        for (Entry<String, List<String>> e : eh.entrySet()) {
            rh.put(e.getKey(), e.getValue());
        }
       
        return rh;
    }
View Full Code Here

Examples of com.sun.sgs.app.util.ScalableHashMap.entrySet()

  final Set controlEntries = control.entrySet();
  txnScheduler.runTask(
      new TestAbstractKernelRunnable() {
    public void run() throws Exception {
        Map test = new ScalableHashMap();
        Set entries = test.entrySet();
        assertEquals(controlEntries, entries);
        assertIteratorDone(entries.iterator());
        assertEquals(controlEntries.hashCode(), entries.hashCode());
        for (int i = 0; i < 50; i++) {
      int j = RANDOM.nextInt();
View Full Code Here

Examples of com.thoughtworks.xstream.core.util.OrderRetainingMap.entrySet()

            final int mode = ((Integer)entryMode.getValue()).intValue();
            for (final Iterator iterFormat = formats.entrySet().iterator(); iterFormat.hasNext();) {
                final Map.Entry entryFormat = (Map.Entry)iterFormat.next();
                final String formatName = (String)entryFormat.getKey();
                final JsonWriter.Format format = (JsonWriter.Format)entryFormat.getValue();
                for (final Iterator iterTarget = targets.entrySet().iterator(); iterTarget.hasNext();) {
                    final Map.Entry entryTarget = (Map.Entry)iterTarget.next();
                    final String targetName = (String)entryTarget.getKey();
                    final Object target = entryTarget.getValue();
                    final String name = modeName + formatName + targetName;
                    final String result = ((String)results.get(name)).replace('\'', '"');
View Full Code Here

Examples of com.tinkerpop.rexster.protocol.msg.RexProBindings.entrySet()

        RexProBindings bindings = v;
        if (bindings == null) {
            bindings = new RexProBindings();
        }
        pk.writeMapBegin(bindings.size());
        for (Map.Entry pair : bindings.entrySet()) {
            pk.write(pair.getKey());
            try {
                ResultsConverter.serializeObject(pair.getValue(), pk);
            } catch (Exception ex) {
                throw new IOException(ex.toString());
View Full Code Here

Examples of com.tinkerpop.rexster.protocol.msg.RexProMessageMeta.entrySet()

        RexProMessageMeta meta = v;
        if (meta == null) {
            meta = new RexProMessageMeta();
        }
        pk.writeMapBegin(meta.size());
        for (Map.Entry pair : meta.entrySet()) {
            pk.write(pair.getKey());
            pk.write(pair.getValue());
        }
        pk.writeMapEnd();
    }
View Full Code Here

Examples of com.typesafe.config.Config.entrySet()

  protected static Map<String, String> configuration() {
    Map<String, String> conf = new HashMap<String, String>();
    Config config = ConfigFactory.parseFileAnySyntax(new File(
        "conf/application.conf"));
    config = config.resolve();
    for (Entry<String, ConfigValue> entry : config.entrySet()) {
      ConfigValue value = entry.getValue();
      conf.put(entry.getKey(), value.unwrapped().toString());
    }
    conf.putAll(inMemoryDatabase());
    return conf;
View Full Code Here

Examples of com.typesafe.config.ConfigObject.entrySet()

                }
                Class<?> elementType = elementType(fieldInfo);
                boolean nested = fieldInfo.isMapValueArray();
                ConfigObject fieldMap = (ConfigObject) fieldValue;
                Map<String, Object> newMap = new HashMap<>(fieldMap.size());
                for (Map.Entry<String, ConfigValue> mapEntry : fieldMap.entrySet()) {
                    ConfigValue mapValue = mapEntry.getValue();
                    String mapKey = mapEntry.getKey();
                    ConfigValue resolvedMapObject;
                    if (nested) {
                        resolvedMapObject = expandSugarArray(mapValue, elementType, pluginRegistry, false);
View Full Code Here

Examples of com.xiaoleilu.hutool.GroupedSet.entrySet()

    log.debug("path: {}", set.getPath());
    log.debug("groups: {}", set.getGroups());
   
    log.debug("特殊分组是否包含字符1: {}", set.contains("特殊分组", "1"));
   
    Set<Entry<String,LinkedHashSet<String>>> entrySet = set.entrySet();
    for (Entry<String, LinkedHashSet<String>> entry : entrySet) {
      log.debug(entry.toString());
    }
  }
}
View Full Code Here

Examples of core.Formulas.entrySet()

            Sheet s = eff.s;
            Cell c;

            Row[] row = new Row[]{s.getRow(0), s.getRow(1)};

            for (Entry<core.Cell, String> entry : forms.entrySet()) {
                c = row[entry.getKey().getRow() - 1].createCell(entry.getKey().getColumn() - 1);
                c.setCellType(XSSFCell.CELL_TYPE_FORMULA);
                c.setCellFormula(entry.getValue());
//                System.out.println(c.getColumnIndex()+"-"+c.getRowIndex());
//                System.out.println(entry.getValue());
View Full Code Here

Examples of de.danet.an.workflow.omgcore.ProcessData.entrySet()

                (new IllegalStateException(e.getMessage())).initCause(e);
        }
        ProcessDataInfo sig = (ProcessDataInfo)mir.result(0);
        ProcessData data = (ProcessData)mir.result(1);
        dataFields = new ArrayList ();
        for (Iterator i = data.entrySet().iterator();
             i.hasNext();) {
            Map.Entry e = (Map.Entry)i.next();
            dataFields.add
                (new DataFieldWrapper
                 (dataFieldAttrs, (String)e.getKey(),
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.