Examples of Map


Examples of co.nstant.in.cbor.model.Map

        }
        return map;
    }

    private Map decodeFixedLength(long length) throws CborException {
        Map map = new Map();
        for (long i = 0; i < length; i++) {
            map.put(decoder.decodeNext(), decoder.decodeNext());
        }
        return map;
    }
View Full Code Here

Examples of com.aqpproject.worldmodel.data.Map

                Element e = (Element) n;
                String name = e.getAttribute("name");
                String mapPath = e.getAttribute("path");
                String miniMap = e.getAttribute("mini");
                int nbLaps = Integer.parseInt(e.getAttribute("laps"));
                m_maps.put(name, new Map(name, mapPath, miniMap, nbLaps));
            }

        }
    }
View Full Code Here

Examples of com.commander4j.mapping.Map

   
    logger.debug("Application starting");
    Utility.initLogging("");
   
    //Create a MAP
    Map map = new Map();
    //Create an INBOOUND Interface
    InboundInterface inint = new InboundInterface(map);
    //Define input path
    inint.setInputPath(System.getProperty("user.dir")+File.separator+"interface"+File.separator+"input");
    inint.setBackupPath(System.getProperty("user.dir")+File.separator+"interface"+File.separator+"backup");
    inint.setOutputPath(System.getProperty("user.dir")+File.separator+"interface"+File.separator+"output");
    inint.setXSLTFilename(System.getProperty("user.dir")+File.separator+"interface"+File.separator+"xslt"+File.separator+"CSVtoExcel.xsl");
   
    //Define input file mask
    inint.setInputFileMask("csv");
    //Define INBOUND Connector as CSV
    inint.setType(IntefaceConnector.Connector_CSV);
    //Set Folder Polling Frequency to 1000 milliseconds
    inint.setPollingInterval((long) 1000);
    //Assign INBOUND interface to Map
    map.setInboundInterface(inint);
    //Enable MAP and associated Interfaces
   
    OutboundInterface outint = new OutboundInterface(map);
    outint.setType(IntefaceConnector.Connector_XML);
    outint.setOutputPath(System.getProperty("user.dir")+File.separator+"interface"+File.separator+"output");

    map.addOutboundInterface(outint);
   
    map.setEnabled(true);
   
    //Let the MAP run for 10 seconds
    Utility.pause(10);

    //Disable the Map and associated Interfaces
    map.setEnabled(false);

  }
View Full Code Here

Examples of com.cumulocity.me.lang.Map

    public ExternalIDRepresentation getExternalId(ID extId) throws SDKException {
        if (extId == null || extId.getValue() == null || extId.getType() == null) {
            throw new SDKException("XtId without value/type or null");
        }

        Map filter = new HashMap();
        filter.put(TYPE, extId.getType());
        filter.put(EXTERNAL_ID, extId.getValue());
        String extIdUrl = templateUrlParser.replacePlaceholdersWithParams(getIdentityRepresentation().getExternalId(), filter);
        return (ExternalIDRepresentation) restConnector.get(extIdUrl, IdentityMediaType.EXTERNAL_ID, ExternalIDRepresentation.class);
    }
View Full Code Here

Examples of com.epicsagaonline.bukkit.ChallengeMaps.objects.Map

      for (World world : this.getServer().getWorlds())
      {
        for (Player player : world.getPlayers())
        {
          String worldName = world.getName().replace("_" + player.getName(), "");
          Map map = Current.Maps.get(worldName.toLowerCase());
          if (map != null)
          {
            Current.GameWorlds.add(world.getName());
            GameStateData.Load(map, player, false);
          }
View Full Code Here

Examples of com.gi.engine.carto.Map

    try {
      MapService mapService = (MapService) pool.getParentService();
      serviceName = mapService.getServiceName();

      MapDesc mapDesc = mapService.getMapDesc();
      map = new Map();
      map.initByMapDesc(mapDesc, mapService.getServiceDir()
          + ArchitectureUtil.MAP_DESC_FILE_NAME);
    } catch (Exception e) {
      StringBuilder sb = new StringBuilder();
      sb.append(ResourceBundleManager.getResourceBundleMapServiceLog()
View Full Code Here

Examples of com.googlecode.g2re.html.google.Map

        /* add the table to the report */
        report.getWebPage().addChildElement(table);
       
        /* create and add a map */
        Map m = new Map();
        m.setDataQuery(queryA);
        m.setMapType(MapType.normal);
        m.setShowTip(true);
        m.setName("Pet Map");
        m.setDescriptionColumn(col1);
        m.setAddressColumn(col8);
       
        //omit the map, for now...
        //report.getWebPage().addChildElement(m);
       
        return report;
View Full Code Here

Examples of com.gwcworld.core.bean.Map

    ModelAndView mav = null;
   
    int idMap = WebUtil.parameter2int(request.getParameter("mapId"));
   
    Map map = mapService.getById(idMap);
   
    MapJson mapJson = new MapJson();
    mapJson.setName(map.getName());
    mapJson.setDescription(map.getDescription());
    mapJson.setMilestone(map.isMilestone());
    List<Area> areaList = areaService.getAreaListByMap(map);
    List<AreaJson> areaJsonList = new ArrayList<AreaJson>();
    for (Iterator<Area> iterator = areaList.iterator(); iterator.hasNext();) {
      Area area = iterator.next();
     
View Full Code Here

Examples of com.pointcliki.dizgruntled.map.Map

   
    // Add settings
    Button create = new Button(new Minion<SelectionEvent>() {
      @Override
      public long run(Dispatcher<SelectionEvent> dispatcher, String type, SelectionEvent event) {
        Map map = scene(EditorScene.class).map();
        for (Logic l: map.selectedLogics()) map.deselectLogic(l);
        return Minion.CONTINUE;
      }
    }, "new logic");
    create.resize(new Vector2f(155, 24));
    addChild(create, 2);
View Full Code Here

Examples of de.yaams.extensions.basemap.tiled.core.Map

    if (map == null) {
      map = new CMap();
    }

    // build map
    final Map m = new Map(map.getWidth(), map.getHeight());
    m.setFilename(path);
    m.setProject(p);
    m.setMid(0);

    TileSet tileset = buildTileset(info.getTileset(), p);
    m.addTileset(tileset);
    m.setTileHeight(32);
    m.setTileWidth(32);
    // tileset.

    // def [](x,y=0,z=0)
    // @data[x+y*@xsize+z*@xsize*@ysize]

    // build layers
    // load map data

    for (int z = 0, n = map.getLayer(); z < n; z++) {
      final TileLayer l = (TileLayer) m.addLayer();
      l.setName(z == 0 ? "Base" : z == 1 ? "Objects" : Integer.toString(z));
      // set tiles
      for (int x = 0, u = m.getWidth(); x < u; x++) {
        for (int y = 0, v = m.getHeight(); y < v; y++) {
          if (map.get(x, y, z) >= 0) {
            l.setTileAt(x, y, tileset.getTile(map.get(x, y, z)));
          }
        }
      }
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.