Package com.irurueta.navigation.indoor
Class Reading<S extends RadioSource>
java.lang.Object
com.irurueta.navigation.indoor.Reading<S>
- Type Parameters:
S- aRadioSourcetype.
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RangingAndRssiReading,RangingReading,RssiReading
Contains a reading related to a given Wi-Fi access point.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets radio source associated to this reading.abstract ReadingTypegetType()Contains radio source reading type.booleanhasSameSource(Reading<S> otherReading) Determine whether another reading is made for the same radio source as this reading or not.
-
Field Details
-
source
Radio source associated to this reading.
-
-
Constructor Details
-
Reading
Constructor.- Parameters:
source- radio source associated to this reading.- Throws:
IllegalArgumentException- if radios source data is null.
-
Reading
protected Reading()Empty constructor.
-
-
Method Details
-
getSource
Gets radio source associated to this reading.- Returns:
- radio source associated to this reading.
-
getType
Contains radio source reading type.- Returns:
- reading type.
-