## Uses of Class
com.sun.mail.imap.protocol.UIDSet

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

- - ### Uses of UIDSet in com.sun.mail.imap

    Fields in com.sun.mail.imap declared as UIDSet
    Modifier and Type | Field and Description
    --- | ---
    `UIDSet[]` | CopyUID.`dst`
    `UIDSet[]` | CopyUID.`src`

    Methods in com.sun.mail.imap that return UIDSet
    Modifier and Type | Method and Description
    --- | ---
    `static UIDSet[]` | Utility.`getResyncUIDSet(ResyncData rd)` Make the ResyncData UIDSet available to IMAPProtocol, which is in a different package.
    `static UIDSet[]` | Utility.`toUIDSet(Message[] msgs)` Return UIDSets for the messages.

    Constructors in com.sun.mail.imap with parameters of type UIDSet
    Constructor and Description
    `CopyUID(long uidvalidity, UIDSet[] src, UIDSet[] dst)`
    `CopyUID(long uidvalidity, UIDSet[] src, UIDSet[] dst)`

  - ### Uses of UIDSet in com.sun.mail.imap.protocol

    Methods in com.sun.mail.imap.protocol that return UIDSet
    Modifier and Type | Method and Description
    --- | ---
    `static UIDSet[]` | UIDSet.`createUIDSets(long[] uids)` Convert an array of longs into an array of UIDSets
    `static UIDSet[]` | UIDSet.`parseUIDSets(String uids)` Parse a string in IMAP UID range format.

    Methods in com.sun.mail.imap.protocol with parameters of type UIDSet
    Modifier and Type | Method and Description
    --- | ---
    `static long` | UIDSet.`size(UIDSet[] uidset)` Count the total number of elements in an array of UIDSets.
    `static long[]` | UIDSet.`toArray(UIDSet[] uidset)` Convert an array of UIDSets into a array of long UIDs.
    `static long[]` | UIDSet.`toArray(UIDSet[] uidset, long uidmax)` Convert an array of UIDSets into a array of long UIDs.
    `static String` | UIDSet.`toString(UIDSet[] uidset)` Convert an array of UIDSets into an IMAP sequence range.
    `void` | IMAPProtocol.`uidexpunge(UIDSet[] set)` UID EXPUNGE Command.

Copyright © 2016 Oracle. All rights reserved.