equals()

Compares two content-type objects.

Syntax

public boolean equals(Object contentTypeObj);
 

Parameters

contentTypeObj
Is a reference to the ContentType object to compare with the current ContentType object.

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.

Copyright IBM Corp. 1997, 2004