[Tinyos-contrib-commits]
CVS: tinyos-1.x/contrib/eyes/tools/java/de/tub/eyes/gis
MapXY.java, 1.1, 1.2
Till Wimmer
twimmer at users.sourceforge.net
Thu May 18 10:08:00 PDT 2006
- Previous message: [Tinyos-contrib-commits]
CVS: tinyos-1.x/contrib/eyes/tools/java/de/tub/eyes/gis
Textfile.java, 1.1, 1.2
- Next message: [Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/wustl/apps/Agilla
3x3.nss, 1.1, 1.2 Agilla.nc, 1.23, 1.24 AgillaOpcodes.h, 1.17,
1.18 Example Makefile.Agilla, 1.34, 1.35 README, 1.21,
1.22 platforms.properties, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-1.x/contrib/eyes/tools/java/de/tub/eyes/gis
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv21716
Modified Files:
MapXY.java
Log Message:
adapted to GIS change (TreeMap)
Index: MapXY.java
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/eyes/tools/java/de/tub/eyes/gis/MapXY.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** MapXY.java 4 Apr 2006 21:46:25 -0000 1.1
--- MapXY.java 18 May 2006 17:07:58 -0000 1.2
***************
*** 10,13 ****
--- 10,15 ----
package de.tub.eyes.gis;
+ import java.util.*;
+
/**
*
***************
*** 15,30 ****
*/
public class MapXY {
! public int map;
! public int x;
! public int y;
/** Creates a new instance of mapXY */
public MapXY() {
}
! public MapXY (int floor, int y, int z) {
! this.map = map;
! this.x = x;
! this.y = y;
! }
}
--- 17,34 ----
*/
public class MapXY {
! Map coordinates;
/** Creates a new instance of mapXY */
public MapXY() {
+ coordinates = new TreeMap();
}
! public void set(int map, int x, int y) {
! int [] xy = {x,y};
! coordinates.put(new Integer(map), xy);
! }
!
! public int[] get(int map) {
! return (int[])coordinates.get(new Integer(map));
! }
}
- Previous message: [Tinyos-contrib-commits]
CVS: tinyos-1.x/contrib/eyes/tools/java/de/tub/eyes/gis
Textfile.java, 1.1, 1.2
- Next message: [Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/wustl/apps/Agilla
3x3.nss, 1.1, 1.2 Agilla.nc, 1.23, 1.24 AgillaOpcodes.h, 1.17,
1.18 Example Makefile.Agilla, 1.34, 1.35 README, 1.21,
1.22 platforms.properties, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-contrib-commits
mailing list