stumblermeasurement.java

来自「这是一款基于PlaceLab软件开发的导航系统中间件的客户端程序.」· Java 代码 · 共 33 行

JAVA
33
字号
/* * Created on Jun 16, 2004 * */package org.placelab.core;/** * A Measurement produced by reading a portion of a log by a {@link org.placelab.spotter.LogSpotter} */public class StumblerMeasurement extends BeaconMeasurement implements PositionMeasurement {	private Coordinate coord;		public StumblerMeasurement(long timestampInMillis, Coordinate c) {		super(timestampInMillis);		coord = c;	}	public StumblerMeasurement(long timestampInMillis, Coordinate c, BeaconReading[] readings) {		super(timestampInMillis, readings);		coord = c;	}		public void setPosition(Coordinate c) { coord = c; }	public Coordinate getPosition() { return coord; }	    /* (non-Javadoc)     * @see org.placelab.core.PositionMeasurement#getType()     */    public String getType() {        return "STUMBLER";    }	}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?