equals(StreamTime when) method
Format
boolean equals(StreamTime when)
Explanation
Determines whether the tuple's own time matches the time indicated by the StreamTime type object specified in the parameter.
Parameters
when
Specifies the StreamTime type object to be compared.
Exceptions
The following table shows the exception and the condition for its generation.
Exception | Generation condition |
---|---|
NullPointerException | null is specified for the parameter. |
Return value
true
The parameter specifies a StreamTime type object and its time matches the tuple's own time.
false
Either the object specified by the parameter is not a StreamTime type object or its time does not match the time in the tuple.