## Uses of Interface
com.sun.mail.imap.Utility.Condition

- Packages that use Utility.Condition
  Package | Description
  --- | ---
  com.sun.mail.imap | An IMAP protocol provider for the JavaMail API that provides access to an IMAP message store.

- - ### Uses of Utility.Condition in com.sun.mail.imap

    Classes in com.sun.mail.imap that implement Utility.Condition
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `IMAPMessage.FetchProfileCondition` This class implements the test to be done on each message in the folder.

    Methods in com.sun.mail.imap with parameters of type Utility.Condition
    Modifier and Type | Method and Description
    --- | ---
    `static MessageSet[]` | Utility.`toMessageSet(Message[] msgs, Utility.Condition cond)` Run thru the given array of messages, apply the given Condition on each message and generate sets of contiguous sequence-numbers for the successful messages.
    `static MessageSet[]` | Utility.`toMessageSetSorted(Message[] msgs, Utility.Condition cond)` Sort (a copy of) the given array of messages and then run thru the sorted array of messages, apply the given Condition on each message and generate sets of contiguous sequence-numbers for the successful messages.

Copyright © 2016 Oracle. All rights reserved.