Examples of entrySet()


Examples of com.hazelcast.core.MultiMap.entrySet()

    }

    @Test
    public void testEntrySet_whenEmpty() {
        final MultiMap mm = client.getMultiMap(randomString());
        assertEquals(Collections.EMPTY_SET, mm.entrySet());
    }

    @Test
    public void testEntrySet() {
        final int maxKeys = 14;
View Full Code Here

Examples of com.hazelcast.replicatedmap.impl.record.ReplicatedRecordStore.entrySet()

    @Override
    public Object call()
            throws Exception {
        ReplicatedRecordStore recordStore = getReplicatedRecordStore();
        return new ReplicatedMapEntrySet(recordStore.entrySet());
    }

    @Override
    public int getClassId() {
        return ReplicatedMapPortableHook.ENTRY_SET;
View Full Code Here

Examples of com.hazelcast.replicatedmap.record.ReplicatedRecordStore.entrySet()

    @Override
    public Object call()
            throws Exception {
        ReplicatedRecordStore recordStore = getReplicatedRecordStore();
        return new ReplicatedMapEntrySet(recordStore.entrySet());
    }

    @Override
    public int getClassId() {
        return ReplicatedMapPortableHook.ENTRY_SET;
View Full Code Here

Examples of com.jetdrone.vertx.yoke.core.Context.entrySet()

        }};

        Context ctx = new Context(ro);
        ctx.put("title", "rw-title");

        Set<Map.Entry<String, Object>> entrySet = ctx.entrySet();
        assertEquals(1, entrySet.size());
    }
}
View Full Code Here

Examples of com.linkedin.data.DataMap.entrySet()

      {
          //process array range
          composeArrayRange(data, op, instrCtx);

          // process all fields
          for (Entry<String, Object> entry : op.entrySet())
          {
            String fieldName = entry.getKey();
            Object opMask = entry.getValue();
            Object dataMask = data.get(fieldName);
View Full Code Here

Examples of com.linkedin.restli.internal.common.PathSegment.MapMap.entrySet()

    // recursively on every value that is itself a map
    if (map instanceof MapMap)
    {
      DataMap result = new DataMap();
      MapMap mapMap = (MapMap) map;
      for (Entry<String, Object> entry : mapMap.entrySet())
      {
        Object value = entry.getValue();
        if (value instanceof Map<?, ?>)
          value = convertToDataCollection((Map<?, ?>) value);
        result.put(entry.getKey(), value);
View Full Code Here

Examples of com.massivecraft.mcore.xlib.gson.JsonObject.entrySet()

  }

  @Override public void beginObject() throws IOException {
    expect(JsonToken.BEGIN_OBJECT);
    JsonObject object = (JsonObject) peekStack();
    stack.add(object.entrySet().iterator());
  }

  @Override public void endObject() throws IOException {
    expect(JsonToken.END_OBJECT);
    popStack(); // empty iterator
View Full Code Here

Examples of com.massivecraft.mcore.xlib.mongodb.BasicDBObject.entrySet()

  {
    if (!(inObject instanceof BasicDBObject)) throw new IllegalArgumentException("Expected BasicDBObject as argument type!");
    BasicDBObject in = (BasicDBObject)inObject;
   
    JsonObject jsonObject = new JsonObject();
    for (Entry<String, Object> entry : in.entrySet())
    {
      String key = mongo2GsonKey(entry.getKey());
      Object val = entry.getValue();
      if (val instanceof BasicDBList)
      {
View Full Code Here

Examples of com.mongodb.BasicDBObject.entrySet()

          // Just going to use the first element in the key
          BasicDBObject record = (BasicDBObject) cacheCollection.findOne();
          if (null != record) {
            BasicDBObject key = (BasicDBObject) record.get("key");
            if (1 == key.size()) {
              keyField = "key." + key.entrySet().iterator().next().getKey();
            }
            else {
              throw new RuntimeException("Invalid key size, too complex, eg: " + keyField);         
            }//TOTEST
          }
View Full Code Here

Examples of com.mysema.util.BeanMap.entrySet()

    @Override
    public Map<Path<?>, Object> createMap(RelationalPath<?> entity, Object bean) {
        Map<Path<?>, Object> values = new HashMap<Path<?>, Object>();
        Map<String, Object> map = new BeanMap(bean);
        Map<String, Path<?>> columns = getColumns(entity);
        for (Map.Entry entry : map.entrySet()) {
            String property = entry.getKey().toString();
            if (!property.equals("class") && columns.containsKey(property)) {
                Path path = columns.get(property);
                if (entry.getValue() != null) {
                    values.put(path, entry.getValue());
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.