
**Inheritance:**
java.lang.Object, [com.aspose.email.QueryField](../../com.aspose.email/queryfield), [com.aspose.email.ComparisonField](../../com.aspose.email/comparisonfield)
```
public final class LongComparisonField extends ComparisonField
```

Represents the Int64 search field.
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [equals(long value)](#equals-long-) | Indicates that field must be equal to the specified value. |
| [getClass()](#getClass--) |  |
| [greater(long value)](#greater-long-) | Indicates that field must be greater than the specified value. |
| [greaterOrEqual(long value)](#greaterOrEqual-long-) | Indicates that field must be greater or equal to the specified value. |
| [hashCode()](#hashCode--) |  |
| [less(long value)](#less-long-) | Indicates that field must be less than the specified value. |
| [lessOrEqual(long value)](#lessOrEqual-long-) | Indicates that field must be less or equal to the specified value. |
| [notEquals(long value)](#notEquals-long-) | Indicates that field must not be equal to the specified value. |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [orderBy(boolean ascending)](#orderBy-boolean-) | Sets value which indicates if client uses ascending or descending sorting on the Field. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




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

**Returns:**
boolean
### equals(long value) {#equals-long-}
```
public final MailQuery equals(long value)
```


Indicates that field must be equal to the specified value.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | long | The value. |

**Returns:**
[MailQuery](../../com.aspose.email/mailquery) - [MailQuery](../../com.aspose.email/mailquery) that represents search query (one searching criterion).
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### greater(long value) {#greater-long-}
```
public final MailQuery greater(long value)
```


Indicates that field must be greater than the specified value.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | long | The value. |

**Returns:**
[MailQuery](../../com.aspose.email/mailquery) - [MailQuery](../../com.aspose.email/mailquery) that represents search query (one searching criterion).
### greaterOrEqual(long value) {#greaterOrEqual-long-}
```
public final MailQuery greaterOrEqual(long value)
```


Indicates that field must be greater or equal to the specified value.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | long | The value. |

**Returns:**
[MailQuery](../../com.aspose.email/mailquery) - [MailQuery](../../com.aspose.email/mailquery) that represents search query (one searching criterion).
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### less(long value) {#less-long-}
```
public final MailQuery less(long value)
```


Indicates that field must be less than the specified value.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | long | The value. |

**Returns:**
[MailQuery](../../com.aspose.email/mailquery) - [MailQuery](../../com.aspose.email/mailquery) that represents search query (one searching criterion).
### lessOrEqual(long value) {#lessOrEqual-long-}
```
public final MailQuery lessOrEqual(long value)
```


Indicates that field must be less or equal to the specified value.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | long | The value. |

**Returns:**
[MailQuery](../../com.aspose.email/mailquery) - [MailQuery](../../com.aspose.email/mailquery) that represents search query (one searching criterion).
### notEquals(long value) {#notEquals-long-}
```
public final MailQuery notEquals(long value)
```


Indicates that field must not be equal to the specified value.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | long | The value. |

**Returns:**
[MailQuery](../../com.aspose.email/mailquery) - [MailQuery](../../com.aspose.email/mailquery) that represents search query (one searching criterion).
### notify() {#notify--}
```
public final native void notify()
```




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




### orderBy(boolean ascending) {#orderBy-boolean-}
```
public final void orderBy(boolean ascending)
```


Sets value which indicates if client uses ascending or descending sorting on the Field.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| ascending | boolean | Set true if you want to use ascending sorting, otherwise set false. |

### 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 |  |

