java.lang.Object
java.lang.Number
io.jenetics.jpx.DGPSStation
- All Implemented Interfaces:
Serializable,Comparable<DGPSStation>
Represents a differential GPS station. This object only holds int values in
the range of
[0..1023].- Since:
- 1.0
- Version:
- 2.0
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(DGPSStation other) doublebooleanfloatinthashCode()intintValue()Return the differential GPS station number.longstatic DGPSStationof(int value) Create a newDGPSStationobject.toString()Methods inherited from class java.lang.Number
byteValue, shortValue
-
Field Details
-
MIN_VALUE
A constant holding the maximum value aDGPSStationvalue can have, 0 inclusively.- Since:
- 2.0
- See Also:
-
MAX_VALUE
A constant holding the maximum value aDGPSStationvalue can have, 1023 inclusively.- Since:
- 2.0
- See Also:
-
-
Method Details
-
intValue
Return the differential GPS station number. -
doubleValue
- Specified by:
doubleValuein classNumber
-
longValue
-
floatValue
- Specified by:
floatValuein classNumber
-
compareTo
- Specified by:
compareToin interfaceComparable<DGPSStation>
-
hashCode
-
equals
-
toString
-
of
Create a newDGPSStationobject.- Parameters:
value- the differential GPS station number- Returns:
- a new
DGPSStationobject - Throws:
IllegalArgumentException- if the given station number is not in the range of[0..1023]
-