IT. Expert System.

Java Enterprise Edition (EE)

MessageNumberTerm


javax.mail.search
Class MessageNumberTerm

java.lang.Object
  javax.mail.search.SearchTerm
      javax.mail.search.ComparisonTerm
          javax.mail.search.IntegerComparisonTerm
              javax.mail.search.MessageNumberTerm
All Implemented Interfaces:
java.io.Serializable
public final class MessageNumberTerm
extends IntegerComparisonTerm

This class implements comparisons for Message numbers.

Author:
Bill Shannon, John Mani
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.mail.search.IntegerComparisonTerm
number
 
Fields inherited from class javax.mail.search.ComparisonTerm
comparison, EQ, GE, GT, LE, LT, NE
 
Constructor Summary
MessageNumberTerm(int number)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Equality comparison.
 boolean match(Message msg)
          The match method.
 
Methods inherited from class javax.mail.search.IntegerComparisonTerm
getComparison, getNumber, hashCode, match
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageNumberTerm

public MessageNumberTerm(int number)
Constructor.

Parameters:
number - the Message number
Method Detail

match

public boolean match(Message msg)
The match method.

Specified by:
match in class SearchTerm
Parameters:
msg - the Message number is matched with this Message
Returns:
true if the match succeeds, otherwise false

equals

public boolean equals(java.lang.Object obj)
Equality comparison.

Overrides:
equals in class IntegerComparisonTerm


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 10167 / . Delta: 0.00648 с