Compares two content-type objects.
Syntax
public boolean equals(Object contentTypeObj);
Parameters
Return values
A boolean value that indicates whether the two content-type objects are equal.
Notes
The equals() method overrides the equals() method in the java.lang.Object class.