javax.mail.search

Class ComparisonTerm

Implemented Interfaces:
Serializable
Known Direct Subclasses:
DateTerm, IntegerComparisonTerm

public abstract class ComparisonTerm
extends SearchTerm

A comparison for scalar values.
Version:
1.4
Author:
Chris Burdess

Field Summary

static int
EQ
The equality operator.
static int
GE
The greater than or equal to operator.
static int
GT
The greater than operator.
static int
LE
The less than or equal to operator.
static int
LT
The less than operator.
static int
NE
The not equal to operator.
protected int
comparison
The comparison operator.

Method Summary

boolean
equals(Object other)
int
hashCode()

Methods inherited from class javax.mail.search.SearchTerm

match

Field Details

EQ

public static final int EQ
The equality operator.
Field Value:
3

GE

public static final int GE
The greater than or equal to operator.
Field Value:
6

GT

public static final int GT
The greater than operator.
Field Value:
5

LE

public static final int LE
The less than or equal to operator.
Field Value:
1

LT

public static final int LT
The less than operator.
Field Value:
2

NE

public static final int NE
The not equal to operator.
Field Value:
4

comparison

protected int comparison
The comparison operator.

Method Details

equals

public boolean equals(Object other)

hashCode

public int hashCode()

© Copyright 2003, 2004 The Free Software Foundation, All rights reserved