edu.washington.cs.rfid.data
Class TRE
java.lang.Object
edu.washington.cs.rfid.data.TRE
- All Implemented Interfaces:
- java.io.Serializable
public class TRE
- extends java.lang.Object
- implements java.io.Serializable
The memory-resident representation of a tag read event.
- Author:
- Evan
- See Also:
- Serialized Form
Constructor Summary |
TRE(long tagID,
int antennaID,
long startTime,
long endTime,
int numReads,
int totalRSSI)
Creates a new TRE object with the specified parameters. |
Method Summary |
java.lang.String |
toString()
Returns a String representing this CompressedTRE . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
tagID
public long tagID
antennaID
public int antennaID
startTime
public long startTime
endTime
public long endTime
numReads
public int numReads
totalRSSI
public int totalRSSI
TRE
public TRE(long tagID,
int antennaID,
long startTime,
long endTime,
int numReads,
int totalRSSI)
- Creates a new
TRE
object with the specified parameters.
- Parameters:
tagID
- The ID of the tagantennaID
- The ID of the antenna reading the tagstartTime
- The start timestampendTime
- The end timestampnumReads
- The number of readstotalRSSI
- The total RSSI
toString
public java.lang.String toString()
- Returns a
String
representing this CompressedTRE
.
- Overrides:
toString
in class java.lang.Object
- Returns:
- A
String
representing this CompressedTRE