Examples of Map


Examples of net.xoetrope.builder.w3c.html.tags.Map

      htmlTags.put( HTML.Tag.INPUT, new Input());
//      htmlTags.put( HTML.Tag.ISINDEX, new Integer( XHtmlBuilder.ISINDEX )); // Deprecated
      htmlTags.put( HTML.Tag.KBD, new XFormatTagHandler( HTML.Tag.KBD ));
      htmlTags.put( HTML.Tag.LI, new XDataTagHandler( HTML.Tag.LI ));
      htmlTags.put( HTML.Tag.LINK, new XDataTagHandler( HTML.Tag.LINK ));
      htmlTags.put( HTML.Tag.MAP, new Map());
//      htmlTags.put( HTML.Tag.MENU, new Integer( XHtmlBuilder.MENU )); // Deprecated
      htmlTags.put( HTML.Tag.META, new XDataTagHandler( HTML.Tag.META ));
//      htmlTags.put( HTML.Tag.NOFRAMES, new Integer( XHtmlBuilder.NOFRAMES ));
      htmlTags.put( HTML.Tag.OBJECT, new XFormatTagHandler( HTML.Tag.OBJECT ));
      htmlTags.put( HTML.Tag.OL, new XDataTagHandler( HTML.Tag.OL ));
View Full Code Here

Examples of nz.ac.massey.softwarec.group3.game.map.Map

    public void setUp() {
       testing = new Game("group3scotlandyard@gmail.com", 1);
       players = new ArrayList<Player>();
       playing = false;
       mapXMLtest = "<?xml version='1.0' encoding='UTF-8'?> <map><intersections></intersections></map>";
       map = new Map(mapXMLtest);
       mrXMoves = new ArrayList<Move>();
       mapDevelopment = new MapDeveloper();
       mapNodes = mapDevelopment.developMap(mapXMLtest);
       mapJSONtest = map.createJSONString(mapNodes);
       mapst1 = new MapStation(0, 1.0, 1.0);
View Full Code Here

Examples of org.apache.camel.component.jms.JmsMessageType.Map

                message.writeBytes(payload);
                return message;
            }
            case Map: {
                MapMessage message = session.createMapMessage();
                Map payload = context.getTypeConverter().convertTo(Map.class, exchange, body);
                populateMapMessage(message, payload, context);
                return message;
            }
            case Object:
                Serializable payload;
View Full Code Here

Examples of org.apache.hadoop.hbase.mapreduce.IndexBuilder.Map

    IndexBuilder.configureJob(configuration, args);
    assertEquals("tableName", configuration.get("index.tablename"));
    assertEquals("tableName", configuration.get(TableInputFormat.INPUT_TABLE));
    assertEquals("column1,column2", configuration.get("index.fields"));

    Map map = new Map();
    ImmutableBytesWritable rowKey = new ImmutableBytesWritable(Bytes.toBytes("test"));
    Mapper<ImmutableBytesWritable, Result, ImmutableBytesWritable, Put>.Context ctx =
        mock(Context.class);
    when(ctx.getConfiguration()).thenReturn(configuration);
    doAnswer(new Answer<Void>() {

      @Override
      public Void answer(InvocationOnMock invocation) throws Throwable {
        ImmutableBytesWritable writer = (ImmutableBytesWritable) invocation.getArguments()[0];
        Put put = (Put) invocation.getArguments()[1];
        assertEquals("tableName-column1", Bytes.toString(writer.get()));
        assertEquals("test", Bytes.toString(put.getRow()));
        return null;
      }
    }).when(ctx).write(any(ImmutableBytesWritable.class), any(Put.class));
    Result result = mock(Result.class);
    when(result.getValue(Bytes.toBytes("columnFamily"), Bytes.toBytes("column1"))).thenReturn(
        Bytes.toBytes("test"));
    map.setup(ctx);
    map.map(rowKey, result, ctx);
  }
View Full Code Here

Examples of org.apache.sqoop.schema.type.Map

        break;
      case FLOATING_POINT:
        output = new FloatingPoint().setByteSize(size);
        break;
      case MAP:
        output = new Map(key, value);
        break;
      case SET:
        output = new Set(key);
        break;
      case TEXT:
View Full Code Here

Examples of org.datanucleus.store.types.sco.simple.Map

        }

        if (expr instanceof MapLiteral)
        {
            // Just return the map length since we have the value
            Map map = (Map)((MapLiteral)expr).getValue();
            return exprFactory.newLiteral(stmt, exprFactory.getMappingForType(int.class, false),
                Integer.valueOf(map.size()));
        }
        else
        {
            AbstractMemberMetaData ownerMmd = expr.getJavaTypeMapping().getMemberMetaData();
            RDBMSStoreManager storeMgr = stmt.getRDBMSManager();
View Full Code Here

Examples of org.eclipse.sapphire.samples.map.Map

        }
       
        if( ! locations.isEmpty() )
        {
            final SapphireDiagramEditorPagePart diagram = context( SapphireDiagramEditorPagePart.class );
            final Map map = context( Map.class );
           
            final Point initialDropPosition = context.position();
           
            int x = initialDropPosition.getX();
            int y = initialDropPosition.getY();
           
            for( String locationName : locations )
            {
                if( ! map.hasLocation( locationName ) )
                {
                    final Location location = map.getLocations().insert();
                    location.setName( locationName );
                   
                    final DiagramNodePart locationNodePart = diagram.getDiagramNodePart(location);
                    locationNodePart.setNodeBounds( x, y );
                   
View Full Code Here

Examples of org.freeplane.plugin.script.proxy.Proxy.Map

    map = c.newMap();
    assertTrue("the file of a new map should be null", map.getFile() == null);
  }

  public void test_Map_close() {
    Map originalMap = node.getMap();
    map = c.newMap();
    map.getRoot().createChild("child 1");
    assertFalse("a new map should have been opened", originalMap.equals(map));
    map.close(true, false);
    assertEquals("the original map should be selected again", originalMap.getName(), c.getSelected().getMap()
        .getName());
    // let tearDown() some work to do...
    map = c.newMap();
  }
View Full Code Here

Examples of org.gwtopenmaps.openlayers.client.Map

     * @param wmcOptions
     * @return map object
     */
    public Map read(String input, WMCOptions wmcOptions)
    {
        Map map = Map.narrowToMap(FormatImpl.read(getJSObject(), input, wmcOptions.getJSObject()));

        return map;
    }
View Full Code Here

Examples of org.hibernate.mapping.Map

    new Component( mappings, rootClass ).accept(vv);
    new DependantValue( mappings, tbl, null ).accept(vv);
    new IdentifierBag( mappings, rootClass ).accept(vv);
    new List( mappings, rootClass ).accept(vv);
    new ManyToOne( mappings, tbl ).accept(vv);
    new Map( mappings, rootClass ).accept(vv);
    new OneToMany( mappings, rootClass ).accept(vv);
    new OneToOne( mappings, tbl, rootClass ).accept(vv);
    new PrimitiveArray( mappings, rootClass ).accept(vv);
    new Set( mappings, rootClass ).accept(vv);
    new SimpleValue( mappings ).accept(vv);
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.