Examples of asMap()


Examples of com.addthis.bundle.value.ValueCustom.asMap()

                    Bytes.writeString(type.getName(), out);
                } else {
                    out.write(TYPE.CUSTOM_INDEX.val);
                    Bytes.writeLength(classID, out);
                }
                encodeValue(custom.asMap(), out, classIndex);
                break;
            case MAP:
                ValueMap map = val.asMap();
                out.write(TYPE.MAP.val);
                Bytes.writeLength(map.size(), out);
View Full Code Here

Examples of com.flaptor.indextank.index.Document.asMap()

            // fetch fields
            for (String field : fetchFields) {
                    // handle '*', as a fetch all
                    if ("*".equals(field.trim())){
                        // assume we get the actual fields, not a copy.
                        result.getFields().putAll(data.asMap());
                        break;
                    }
                    String text = data.getField(field);
                    if (null != text) {
                        result.setField(field, text);
View Full Code Here

Examples of com.google.common.collect.Multimap.asMap()

  }

  public void unregister(Object paramObject)
  {
    Multimap localMultimap = this.finder.findAllHandlers(paramObject);
    Iterator localIterator = localMultimap.asMap().entrySet().iterator();
    while (localIterator.hasNext())
    {
      Map.Entry localEntry = (Map.Entry)localIterator.next();
      Set localSet = getHandlersForEventType((Class)localEntry.getKey());
      Collection localCollection = (Collection)localEntry.getValue();
View Full Code Here

Examples of com.google.template.soy.data.SoyMapData.asMap()

  @Override public Map<String, SoyData> asMap() {

    SoyMapData combinedMapData = new SoyMapData();
    addMapDataHelper(combinedMapData, "", baseData.asMap());
    addMapDataHelper(combinedMapData, "", super.asMap());
    return Collections.unmodifiableMap(combinedMapData.asMap());
  }


  /**
   * Private helper for {@code asMap()} to add a map (or submap) to the combined map data.
View Full Code Here

Examples of com.hazelcast.spi.impl.PartitionIteratingOperation.PartitionResponse.asMap()

        Map<Integer, Object> partitionResults = new HashMap<Integer, Object>(
                nodeEngine.getPartitionService().getPartitionCount());
        for (Map.Entry<Address, Future> response : responses.entrySet()) {
            try {
                PartitionResponse result = (PartitionResponse) nodeEngine.toObject(response.getValue().get());
                partitionResults.putAll(result.asMap());
            } catch (Throwable t) {
                if (logger.isFinestEnabled()) {
                    logger.finest(t);
                } else {
                    logger.warning(t.getMessage());
View Full Code Here

Examples of com.springsource.insight.intercept.operation.Operation.asMap()

        OperationList actionParams = operation.createList("actionParams");
        actionParams.createMap().put("key", "keyA").put("value", "valA");
        actionParams.createMap().put("key", "keyB").put("value", "valB");
        actionParams.createMap().put("key", "keyC").put("value", "valC");

        model.put("operation", operation.asMap());
        local.render(model, request, response);
        String content = response.getContentAsString();
        //System.err.println(content);
        int keyAindex = content.indexOf("<td>keyA</td>");
        int keyBindex = content.indexOf("<td>keyB</td>");
View Full Code Here

Examples of com.sun.appserv.management.base.MapCapable.asMap()

        List subStagesToMapList() {
            final List l = new ArrayList(subStages.size());
            final Iterator it = subStages.iterator();
            while (it.hasNext()) {
                final MapCapable mc = (MapCapable)it.next();
                l.add(mc.asMap());
            }
            return l;
        }

        /**
 
View Full Code Here

Examples of com.sun.appserv.management.deploy.DeploymentProgressImpl.asMap()

    public void
  testDeploymentProgressAsMap()
  {
    final DeploymentProgressImpl  dp  = createDeploymentProgress();
   
    final Map<String,Serializable>  data  = dp.asMap();
  }
 
    public void
  testDeploymentProgressFromMap()
  {
View Full Code Here

Examples of com.sun.appserv.management.deploy.DeploymentSourceImpl.asMap()

    public void
  testDeploymentSourceFromMap()
    throws IOException
  {
    final DeploymentSourceImpl  ds  = createDeploymentSource();
    final Map<String,Serializable>  data  = ds.asMap();
   
    final DeploymentSourceImpl ds2  = new DeploymentSourceImpl( data );
   
    assert( ds2.equals( ds ) );
    assert( ds.equals( ds2 ) );
View Full Code Here

Examples of com.sun.appserv.management.deploy.DeploymentStatus.asMap()

    final Map<String,String>    optionalParams)
  {
    final Undeployer    undeployer  = new Undeployer( moduleID, optionalParams );
    final DeploymentStatus  undeploymentStatus  = undeployer.undeploy();
   
    return( undeploymentStatus.asMap() );
  }

    public Map<String,Serializable>
  getFinalDeploymentStatus (Object deployID)
  {
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.