
**Inheritance:**
java.lang.Object, com.aspose.diagram.Collection
```
public class PageCollection extends Collection<Page>
```

Page collection.
## Methods

| Method | Description |
| --- | --- |
| [add(T o)](#add-T-) |  |
| [add(Page page)](#add-com.aspose.diagram.Page-) | Add the page in the collection. |
| [clear()](#clear--) |  |
| [contains(Object o)](#contains-java.lang.Object-) |  |
| [dispose()](#dispose--) | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [get(int index)](#get-int-) |  |
| [getClass()](#getClass--) |  |
| [getCount()](#getCount--) |  |
| [getInnerList()](#getInnerList--) |  |
| [getPage(int ID)](#getPage-int-) | Gets the element at the specified ID. |
| [getPage(String name)](#getPage-java.lang.String-) | Gets the element at the specified name. |
| [hashCode()](#hashCode--) |  |
| [indexOf(Object o)](#indexOf-java.lang.Object-) |  |
| [isExist(int index)](#isExist-int-) |  |
| [iterator()](#iterator--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [remove(Page page)](#remove-com.aspose.diagram.Page-) | Remove the page from the collection. |
| [removeAt(int index)](#removeAt-int-) |  |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### add(T o) {#add-T-}
```
public int add(T o)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| o | T |  |

**Returns:**
int
### add(Page page) {#add-com.aspose.diagram.Page-}
```
public int add(Page page)
```


Add the page in the collection.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| page | [Page](../../com.aspose.diagram/page) |  |

**Returns:**
int - 
### clear() {#clear--}
```
public void clear()
```




### contains(Object o) {#contains-java.lang.Object-}
```
public boolean contains(Object o)
```




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

**Returns:**
boolean
### dispose() {#dispose--}
```
public void dispose()
```


Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




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

**Returns:**
boolean
### get(int index) {#get-int-}
```
public T get(int index)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int |  |

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




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




**Returns:**
int
### getInnerList() {#getInnerList--}
```
public ArrayList<T> getInnerList()
```




**Returns:**
java.util.ArrayList<T>
### getPage(int ID) {#getPage-int-}
```
public Page getPage(int ID)
```


Gets the element at the specified ID.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| ID | int |  |

**Returns:**
[Page](../../com.aspose.diagram/page) - 
### getPage(String name) {#getPage-java.lang.String-}
```
public Page getPage(String name)
```


Gets the element at the specified name.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| name | java.lang.String |  |

**Returns:**
[Page](../../com.aspose.diagram/page) - 
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### indexOf(Object o) {#indexOf-java.lang.Object-}
```
public int indexOf(Object o)
```




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

**Returns:**
int
### isExist(int index) {#isExist-int-}
```
public boolean isExist(int index)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int |  |

**Returns:**
boolean
### iterator() {#iterator--}
```
public Iterator<T> iterator()
```




**Returns:**
java.util.Iterator<T>
### notify() {#notify--}
```
public final native void notify()
```




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




### remove(Page page) {#remove-com.aspose.diagram.Page-}
```
public void remove(Page page)
```


Remove the page from the collection.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| page | [Page](../../com.aspose.diagram/page) |  |

### removeAt(int index) {#removeAt-int-}
```
public void removeAt(int index)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int |  |

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




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




### wait(long arg0) {#wait-long-}
```
public final native 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 |  |

