Examples of entrySet()


Examples of org.jdesktop.wonderland.modules.sharedstate.client.SharedMapCli.entrySet()

//            }
           
            if(cell.getSharedLightMap() != null) {
                LOGGER.fine("POPULATING LIGHTS WITH SHARED VALUES!");
                SharedMapCli smc = cell.getSharedLightMap();
                for(Map.Entry<String, SharedData> data:smc.entrySet()) {
                    LOGGER.fine("POPULATING LIGHT: "+data.getKey());
                    if (initialLights.containsKey(data.getKey())) {
                        LightNode node = initialLights.get(data.getKey());
                        SharedDirectionLight light = (SharedDirectionLight) data.getValue();
View Full Code Here

Examples of org.jgroups.util.RspList.entrySet()

                  + command.getClass().getSimpleName() + " not being serializable.");

         if (supportReplay) {
            boolean replay = false;
            Vector<Address> ignorers = new Vector<Address>();
            for (Map.Entry<Address, Rsp> entry : retval.entrySet()) {
               Object value = entry.getValue().getValue();
               if (value instanceof RequestIgnoredResponse) {
                  ignorers.add(entry.getKey());
               } else if (value instanceof ExtendedResponse) {
                  ExtendedResponse extended = (ExtendedResponse) value;
View Full Code Here

Examples of org.jruby.RubyHash.entrySet()

//                            }
//                        }
                        break;
                    case JRuby:
                        RubyHash oRuby = (RubyHash) engine.eval(defines + "\n" + script, context);
                        Iterator itruby = oRuby.entrySet().iterator();
                        while (itruby.hasNext()) {
                            Map.Entry pairs = (Map.Entry) itruby.next();
                            page.getResultItems().put(pairs.getKey().toString(), pairs.getValue());
                        }
                        break;
View Full Code Here

Examples of org.jscsi.parser.datasegment.SettingsMap.entrySet()

            sc = sessionConfigs.get(targetName);

            synchronized (sc) {
                if (sc != null) {
                    final SettingsMap furtherSettings = sc.getSettings(connectionID);
                    for (Map.Entry<OperationalTextKey , String> e : furtherSettings.entrySet()) {
                        sm.add(e.getKey(), e.getValue());
                    }
                }
            }
        }
View Full Code Here

Examples of org.json.simple.JSONObject.entrySet()

     
    JSONObject  field_map = (JSONObject)map.get( str );
   
    if ( field_map != null ){
     
      Iterator  it = field_map.entrySet().iterator();
     
      while( it.hasNext()){
       
        Map.Entry  entry = (Map.Entry)it.next();
       
View Full Code Here

Examples of org.kite9.diagram.primitives.HintMap.entrySet()

      // otherwise excessive
      xstream.registerConverter(new Converter() {

        public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) {
          HintMap map = (HintMap) source;
          for (Iterator<Entry<String, Float>> iterator = map.entrySet().iterator(); iterator.hasNext();) {
            Entry<String, Float> entry = iterator.next();
            writer.addAttribute(entry.getKey().toString(), entry.getValue().toString());
          }
        }
View Full Code Here

Examples of org.mortbay.util.MultiMap.entrySet()

            ShardLocation shard = userId2Shard(userId);
            shard2users.add(shard,userId);
        }
       
        // for each shard
        for (Map.Entry<ShardLocation,Object> entry : (Set<Map.Entry<ShardLocation,Object>>)shard2users.entrySet())
        {
            // TODO, we could look at all users in shard to see if we
            // know a setiId for each, and if so, break the user list
            // up into a message for each seti-id. BUT it is probably
            // more efficient just to send to the entire shard (unless
View Full Code Here

Examples of org.moxie.maxml.MaxmlMap.entrySet()

    pom.addExclusions(readStrings(map, Key.exclusions, new ArrayList<String>(), true));

    // all task attributes are inherited. individual attributes can be overridden
    if (map.containsKey("tasks")) {
      MaxmlMap taskOverrides = map.getMap("tasks");
      for (Map.Entry<String, Object> entry : taskOverrides.entrySet()) {
        String task = entry.getKey();
        MaxmlMap taskAttributes  = (MaxmlMap) entry.getValue();
        if (tasks.containsKey(task)) {
          // update existing entry with attribute overrides
          tasks.getMap(task).putAll(taskAttributes);
View Full Code Here

Examples of org.msgpack.type.ArrayValue.entrySet()

            }
            o = dst;
        } else if (v.isMapValue()) {
            final MapValue src = v.asMapValue();
            final HashMap<Object, Object> dst = new HashMap<Object, Object>(src.size());
            for (Map.Entry<Value, Value> entry : src.entrySet()) {
                final Object key = deserializeObject(entry.getKey());
                final Object val = deserializeObject(entry.getValue());
                dst.put(key, val);
            }
            o = dst;
View Full Code Here

Examples of org.msgpack.type.MapValue.entrySet()

  protected void recursiveWrite(Value value) throws IOException {
    if (value.isMapValue()) {
      MapValue map = value.asMapValue();
      int newLength = 0;
      for (Map.Entry<Value, Value> entry : map.entrySet()) {
        if (!entry.getValue().isNilValue()) {
          ++newLength;
        }
      }
      sparsePacker.writeMapBegin(newLength);
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.