
**Inheritance:**
java.lang.Object

**All Implemented Interfaces:**
com.aspose.ms.System.Collections.Generic.IGenericEnumerable
```
public final class XmpPackageBaseCollection implements System.Collections.Generic.IGenericEnumerable<XmpPackage>
```

Represents collection of  XmpPackage .
## Constructors

| Constructor | Description |
| --- | --- |
| [XmpPackageBaseCollection()](#XmpPackageBaseCollection--) | Initializes a new instance of the  XmpPackageBaseCollection  class. |
## Methods

| Method | Description |
| --- | --- |
| [add(XmpPackage package_)](#add-com.aspose.psd.xmp.XmpPackage-) | Adds new instance of  XmpPackage . |
| [clear()](#clear--) | Clear all  XmpPackage  inside collection. |
| [deepClone_internalized()](#deepClone-internalized--) | Clones this instance. |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getCount()](#getCount--) | Gets the number of elements in the collection. |
| [getPackage(String namespaceUri)](#getPackage-java.lang.String-) | Gets  XmpPackage  by it's namespaceURI. |
| [getPackages()](#getPackages--) | Get array of  XmpPackage . |
| [hashCode()](#hashCode--) |  |
| [iterator()](#iterator--) | Returns an enumerator that iterates through a collection. |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [remove(XmpPackage package_)](#remove-com.aspose.psd.xmp.XmpPackage-) | Removes the specified XMP package. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### XmpPackageBaseCollection() {#XmpPackageBaseCollection--}
```
public XmpPackageBaseCollection()
```


Initializes a new instance of the  XmpPackageBaseCollection  class.

### add(XmpPackage package_) {#add-com.aspose.psd.xmp.XmpPackage-}
```
public void add(XmpPackage package_)
```


Adds new instance of  XmpPackage .

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| package_ | [XmpPackage](../../com.aspose.psd.xmp/xmppackage) | The XMP package\_ to add. |

### clear() {#clear--}
```
public void clear()
```


Clear all  XmpPackage  inside collection.

### deepClone_internalized() {#deepClone-internalized--}
```
public final XmpPackageBaseCollection deepClone_internalized()
```


Clones this instance.

**Returns:**
[XmpPackageBaseCollection](../../com.aspose.psd.xmp/xmppackagebasecollection) - The cloned object
### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getCount() {#getCount--}
```
public int getCount()
```


Gets the number of elements in the collection.

Value: The number of elements in the collection.

**Returns:**
int
### getPackage(String namespaceUri) {#getPackage-java.lang.String-}
```
public XmpPackage getPackage(String namespaceUri)
```


Gets  XmpPackage  by it's namespaceURI.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| namespaceUri | java.lang.String | The namespace URI to get package\_ for. |

**Returns:**
[XmpPackage](../../com.aspose.psd.xmp/xmppackage) - Returns XMP package\_ for specified namespace Uri.
### getPackages() {#getPackages--}
```
public XmpPackage[] getPackages()
```


Get array of  XmpPackage .

**Returns:**
com.aspose.psd.xmp.XmpPackage[] - Returns an array of XMP packages.
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### iterator() {#iterator--}
```
public System.Collections.Generic.List.Enumerator<XmpPackage> iterator()
```


Returns an enumerator that iterates through a collection.

**Returns:**
com.aspose.ms.System.Collections.Generic.List.Enumerator<com.aspose.psd.xmp.XmpPackage> - An  System.Collections.IEnumerator  object that can be used to iterate through the collection.
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### remove(XmpPackage package_) {#remove-com.aspose.psd.xmp.XmpPackage-}
```
public void remove(XmpPackage package_)
```


Removes the specified XMP package.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| package_ | [XmpPackage](../../com.aspose.psd.xmp/xmppackage) | The XMP package\_ to remove. |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

