**Inheritance:**
java.lang.Object, [com.aspose.imaging.DisposableObject](../../com.aspose.imaging/disposableobject)

**All Implemented Interfaces:**
[com.aspose.imaging.fileformats.cmx.objectmodel.ICmxContainer](../../com.aspose.imaging.fileformats.cmx.objectmodel/icmxcontainer)
```
public abstract class CmxContainer extends DisposableObject implements ICmxContainer
```

the container for child elements.
## Methods

| Method | Description |
| --- | --- |
| [getElements()](#getElements--) | Gets the elements. |
| [equals(Object o)](#equals-java.lang.Object-) | Check if objects are equal. |
| [hashCode()](#hashCode--) | Get hash code of the current object. |
### getElements() {#getElements--}
```
public List<ICmxDocElement> getElements()
```


Gets the elements.

**Returns:**
java.util.List<com.aspose.imaging.fileformats.cmx.objectmodel.ICmxDocElement> - the elements.
### equals(Object o) {#equals-java.lang.Object-}
```
public boolean equals(Object o)
```


Check if objects are equal.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| o | java.lang.Object | The other object. |

**Returns:**
boolean - The equality comparison result.
### hashCode() {#hashCode--}
```
public int hashCode()
```


Get hash code of the current object.

**Returns:**
int - The hash code.
