7.9 StreamTime class (common API)

Class hierarchy

java.lang.Object
 |-java.util.Date
     |-jp.co.Hitachi.soft.sdp.common.util.StreamTime

Explanation

The StreamTime class is an expansion of the Date class.

This class is used to process time information for a tuple.

Method

The following table shows the StreamTime class method list.

Return valueMethod nameFunction
booleanequals(StreamTime when)Determines if a tuple's own time matches the time indicated by the StreamTime type object specified in the parameter.
longgetTimeMillis()Acquires the time (in milliseconds) from a tuple.
inthashCode()Acquires the hash code that indicates the tuple.
java.lang.StringtoString()Converts the time information in a tuple into a string and acquires it.

Notes

None.

Organization of this section
equals(StreamTime when) method
getTimeMillis() method
hashCode() method
toString() method