Examples of entrySet()


Examples of org.bson.BasicBSONObject.entrySet()

        if (!minObj.isEmpty()) {
          _cursor = _cursor.addSpecial("$min", new BasicDBObject(minObj));
        }
      }
      if (null != maxObj) {
        Iterator<Map.Entry<String, Object>> it = maxObj.entrySet().iterator();
        while (it.hasNext()) { // remove upper/lower limit objects because not sure about new mongo syntax
          Map.Entry<String, Object> keyVal = it.next();
          if (keyVal.getValue() instanceof org.bson.types.MaxKey) {
            it.remove();
          }
View Full Code Here

Examples of org.camunda.bpm.engine.variable.VariableMap.entrySet()

    assertTrue(values2.containsAll(values1));
    assertTrue(values2.containsAll(values3));
    assertTrue(values3.containsAll(values2));

    // entry set
    assertEquals(map1.entrySet(), map2.entrySet());
    assertEquals(map2.entrySet(), map3.entrySet());
  }

}
View Full Code Here

Examples of org.castor.cache.Cache.entrySet()

    }

    public void testEntrySet() {
        Cache cache = initialize();

        Set set = cache.entrySet();
       
        assertEquals(3, set.size());
       
        Object[] objs = set.toArray();
        HashMap map = new HashMap();
View Full Code Here

Examples of org.castor.core.util.IdentityMap.entrySet()

        map.put(key1, "value 1");
        map.put(key2, "value 2");
        map.put(key3, "value 3");
       
        Set set = map.entrySet();
        assertTrue(set.size() == 3);
       
        Iterator iter = set.iterator();
        while (iter.hasNext()) {
            Object test = iter.next();
View Full Code Here

Examples of org.clapper.util.misc.PropertiesMap.entrySet()

        System.out.println ("---------------------------------------" +
                            "---------------------------------------");
        System.out.println ("*** Looping over properties by entry set.");
        System.out.println ("---------------------------------------" +
                            "---------------------------------------");
        for (Map.Entry<String, String> entry : map.entrySet())
        {
            buf.clear();
            buf.append (entry.getValue());
            buf.encodeMetacharacters();
            System.out.println (entry.getKey() + "=" + buf.toString());
View Full Code Here

Examples of org.codehaus.groovy.tools.gse.StringSetMap.entrySet()

            StringSetMap cache = localCache.get();
            cache.makeTransitiveHull();
            long now = System.currentTimeMillis();
            Set<String> entryNames = new HashSet<String>();
            for (Map.Entry<String, Set<String>> entry : cache.entrySet()) {
                String className = entry.getKey();
                Class clazz = getClassCacheEntry(className);
                if (clazz == null) continue;

                String entryName = getPath(clazz);
View Full Code Here

Examples of org.cometd.Message.entrySet()

               
            if (message!=m)
            {
                message.clear();
                if (m!=null)
                    for (Map.Entry<String,Object> entry:m.entrySet())
                        message.put(entry.getKey(),entry.getValue());
            }
        }
    }
View Full Code Here

Examples of org.eclipse.emf.common.util.EMap.entrySet()

    if (xsiSchemaLocationMap != null)
    {
      if (!xsiSchemaLocationMap.isEmpty())
      {
        StringBuffer xsiSchemaLocation = new StringBuffer();
        for (Iterator i = xsiSchemaLocationMap.entrySet().iterator(); i
            .hasNext();)
        {
          Map.Entry entry = (Map.Entry) i.next();
          String namespace = (String) entry.getKey();
          if (namespace != null)
View Full Code Here

Examples of org.eclipse.osgi.framework.eventmgr.CopyOnWriteIdentityMap.entrySet()

    eventManager = new EventManager(
        "RSA EndpointDescriptionLocator Dispatcher", eventGroup); //$NON-NLS-1$
    eventQueue = new ListenerQueue(eventManager);
    CopyOnWriteIdentityMap listeners = new CopyOnWriteIdentityMap();
    listeners.put(this, this);
    eventQueue.queueListeners(listeners.entrySet(), new EventDispatcher() {
      public void dispatchEvent(Object eventListener,
          Object listenerObject, int eventAction, Object eventObject) {
        final String logMethodName = "dispatchEvent"; //$NON-NLS-1$
        // We now dispatch both EndpointListenerEvents
        if (eventObject instanceof EndpointListenerEvent) {
View Full Code Here

Examples of org.enhydra.shark.utilities.SequencedHashMap.entrySet()

            }
            //END CUSTOM

            List toRemove = selectedGraph.getGraphManager().getDisplayedParticipants();

            Iterator it = choiceMap.entrySet().iterator();
            while (it.hasNext()) {
                Map.Entry me = (Map.Entry) it.next();
                if (toRemove.contains(me.getValue())) {
                    it.remove();
                }
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.