com.aiyc.server.standalone.core
类 Measurement
java.lang.Object
com.aiyc.base.core.Measurement
com.aiyc.server.standalone.core.Measurement
- 所有已实现的接口:
- com.aiyc.base.core.IMeasurement, IEntity<Integer>
public class Measurement
- extends com.aiyc.base.core.Measurement
- implements com.aiyc.base.core.IMeasurement, IEntity<Integer>
- 作者:
- felly
- 另请参见:
Measurement
| 从类 com.aiyc.base.core.Measurement 继承的字段 |
bluetoothReadings, gsmReadings, timestamp, wifiReadings |
| 从类 com.aiyc.base.core.Measurement 继承的方法 |
addBluetoothReading, addGSMReading, addWiFiReading, getTimestamp, setTimestamp |
Measurement
public Measurement()
Measurement
public Measurement(Vector<GSMReading> gsmReadings,
Vector<WiFiReading> wifiReadings,
Vector<BluetoothReading> bluetoothReadings)
getId
public Integer getId()
- 从接口
IEntity 复制的描述
- gets the primary key
- 指定者:
- 接口
IEntity<Integer> 中的 getId
- 返回:
- the database id
setId
public void setId(Integer id)
- 从接口
IEntity 复制的描述
- sets the primary key
- 指定者:
- 接口
IEntity<Integer> 中的 setId
- 参数:
id - the id to set
getBluetoothReadings
public Vector<BluetoothReading> getBluetoothReadings()
- 覆盖:
- 类
com.aiyc.base.core.Measurement 中的 getBluetoothReadings
- 返回:
- Bluetooth readings vector
getGsmReadings
public Vector<GSMReading> getGsmReadings()
- 覆盖:
- 类
com.aiyc.base.core.Measurement 中的 getGsmReadings
- 返回:
- GSM readings vector
getWiFiReadings
public Vector<WiFiReading> getWiFiReadings()
- 覆盖:
- 类
com.aiyc.base.core.Measurement 中的 getWiFiReadings
- 返回:
- WiFi readings vector
setBluetoothReadings
public void setBluetoothReadings(Vector<BluetoothReading> br)
- 参数:
br - Bluetooth readings vector
setWiFiReadings
public void setWiFiReadings(Vector<WiFiReading> wr)
- 参数:
wr - WiFi readings vector
setGSMReadings
public void setGSMReadings(Vector<GSMReading> gr)
- 参数:
gr - GSMreadings vector
isSimilar
public boolean isSimilar(com.aiyc.base.core.Measurement m)
- 指定者:
- 接口
com.aiyc.base.core.IMeasurement 中的 isSimilar
similarityLevel
public int similarityLevel(com.aiyc.base.core.Measurement m)
- 指定者:
- 接口
com.aiyc.base.core.IMeasurement 中的 similarityLevel
equals
public boolean equals(Object obj)
- 覆盖:
- 类
Object 中的 equals
Copyright © 2017. All Rights Reserved.