This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


com.sun.mail.imap.protocol
class UIDSet

com.sun.mail.imap.protocol.UIDSet

public class UIDSet
extends Object

This class holds the 'start' and 'end' for a range of UIDs. Just like MessageSet except using long instead of int.


Field Summary
 long end
          
 long start
          
 
Constructor Summary

          
UIDSet(long start, long end)

          
 
Method Summary
static UIDSet[]
createUIDSets(long[] msgs)

          
 long

          Count the total number of elements in a UIDSet
static long
size(UIDSet[] msgsets)

          
static String
toString(UIDSet[] msgsets)

          Convert an array of UIDSets into an IMAP sequence range
 

Field Detail

end

public long end

start

public long start
Constructor Detail

UIDSet

public UIDSet()

UIDSet

public UIDSet(long start,
              long end)
Parameters:
start
end
Method Detail

createUIDSets

public static UIDSet[] createUIDSets(long[] msgs)
Parameters:
msgs

size

public long size()
Count the total number of elements in a UIDSet


size

public static long size(UIDSet[] msgsets)
Parameters:
msgsets

toString

public static String toString(UIDSet[] msgsets)
Convert an array of UIDSets into an IMAP sequence range

Parameters:
msgsets


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention. The official Sun™ documentation can be found here at http://java.sun.com/products/javamail/javadocs/index.html.