---
title: "EditOperationsOrder"
url: "https://reference.aspose.com/pdf/java/com.aspose.pdf.comparison/editoperationsorder/"
product: "Aspose.PDF for Java API Reference"
description: "Specifies the order of edit operations."
---

**Inheritance:**
java.lang.Object, java.lang.Enum < EditOperationsOrder > com.aspose.pdf.comparison.EditOperationsOrder, java.lang.Enum < EditOperationsOrder >, com.aspose.pdf.comparison.EditOperationsOrder

**All Implemented Interfaces:**
Serializable, Comparable < EditOperationsOrder >

```
public enum EditOperationsOrder extends Enum < EditOperationsOrder >
```

Specifies the order of edit operations.

## Fields

| Field | Description |
| --- | --- |
| [DeleteFirst](#DeleteFirst) | Delete operations before insert operations. |
| [InsertFirst](#InsertFirst) | Insert operations before delete operations. |

## Methods

| Method | Description |
| --- | --- |
| [getByValue](#getByValue-int-) |  |
| [getValue](#getValue--) |  |
| [valueOf](#valueOf-java.lang.String-) | Returns the enum constant of this type with the specified name. |
| [values](#values--) | Returns an array containing the constants of this enum type, in the order they are declared. |

### DeleteFirst {#DeleteFirst}
```
public static final EditOperationsOrder DeleteFirst
```

Delete operations before insert operations.

### InsertFirst {#InsertFirst}
```
public static final EditOperationsOrder InsertFirst
```

Insert operations before delete operations.

### getByValue {#getByValue-int-}
```
public static EditOperationsOrder getByValue(int value)
```



**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  |  |

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



### valueOf {#valueOf-java.lang.String-}
Returns the enum constant of this type with the specified name.

### values {#values--}
```
public static EditOperationsOrder [] values()
```

Returns an array containing the constants of this enum type, in the order they are declared.

**Returns:**
an array containing the constants of this enum type, in the order they are declared
