**Inheritance:**
java.lang.Object, com.aspose.pdf.nameddestinations.NamedDestinationCollection

**All Implemented Interfaces:**
INamedDestinationCollection

```
public class NamedDestinationCollection extends Object implements INamedDestinationCollection
```

Class represents the collection of all destinations (a name tree mapping name strings to destinations (see 12.3.2.3, "Named Destinations") and (see 7.7.4, "Name Dictionary")) in the pdf document.

## Methods

| Method | Description |
| --- | --- |
| [add](#add-java.lang.String-com.aspose.pdf.IAppointment-) | Add new named destination. |
| [get_Item](#get_Item-java.lang.String-) | Gets or sets appointment by its name. |
| [getNames](#getNames--) | List of names of the destinations. |
| [isEmpty](#isEmpty--) |  |
| [remove](#remove-java.lang.String-) | Delete named destination. |
| [set_Item](#set_Item-java.lang.String-com.aspose.pdf.IAppointment-) | Gets or sets appointment by its name. |
| [size](#size--) | Count of named destinations. |

### add {#add-java.lang.String-com.aspose.pdf.IAppointment-}
Add new named destination.

### get_Item {#get_Item-java.lang.String-}
Gets or sets appointment by its name.

### getNames {#getNames--}
```
public String [] getNames()
```

List of names of the destinations.

**Returns:**
Array of String values

### isEmpty {#isEmpty--}
```
public boolean isEmpty()
```



**Returns:**
boolean value

### remove {#remove-java.lang.String-}
Delete named destination.

### set_Item {#set_Item-java.lang.String-com.aspose.pdf.IAppointment-}
Gets or sets appointment by its name.

### size {#size--}
```
public int size()
```

Count of named destinations.

**Returns:**
int value
