Package org.n52.shetland.ogc.om
Class TimeValuePair
java.lang.Object
org.n52.shetland.ogc.om.TimeValuePair
- All Implemented Interfaces:
Comparable<TimeValuePair>
- Direct Known Subclasses:
TimeLocationValueTriple
Class representing a time value pair
- Since:
- 1.0.0
-
Constructor Details
-
TimeValuePair
Constructor- Parameters:
time- Time value pair timevalue- Time value pair value
-
-
Method Details
-
getTime
Get time value pair time- Returns:
- Time value pair time
-
getValue
Get time value pair value- Returns:
- Time value pair value
-
setTime
Set time value pair time- Parameters:
time- Time value pair time to set
-
setValue
Set time value pair value- Parameters:
value- Time value pair value to set
-
compareTo
- Specified by:
compareToin interfaceComparable<TimeValuePair>
-
hashCode
public int hashCode() -
equals
-