## Equals(MimeType) {#equals}

Indicates whether the current object is equal to another object of the same type.

```java
public bool Equals(MimeType other)
```

| Parameter | Type | Description |
| --- | --- | --- |
| other | MimeType | An object to compare with this object. |

### Return Value

true if the current object is equal to the *other* parameter; otherwise, false.

### See Also

* class [MimeType](../)
* package [com.aspose.html](../../../com.aspose.html/)
* package [Aspose.HTML](../../../)

---

## Equals(object) {#equals_1}

Determines whether the specified Object is equal to the current Object.

```java
public bool Equals(object obj)
```

| Parameter | Type | Description |
| --- | --- | --- |
| obj | Object | The Object to compare with the current Object. |

### Return Value

true if the specified Object is equal to the current Object; otherwise, false.

### See Also

* class [MimeType](../)
* package [com.aspose.html](../../../com.aspose.html/)
* package [Aspose.HTML](../../../)
