equals(Object obj) method
Format
boolean equals(Object obj)
Explanation
Determines whether the data object array and times of the StreamTuple type object specified in the parameter match those in the data object array of the tuple's StreamTuple type object.
Parameters
obj
Specifies the StreamTuple 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
All of the tuple content (content and times of data object array) is the same.
false
The tuple content is not the same (false is returned if even one item is different).