com.sun.mail.imap.protocol
Class UIDSet
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
start
public long start
end
public long end
UIDSet
public UIDSet()
UIDSet
public UIDSet(long start,
long end)
size
public long size()
- Count the total number of elements in a UIDSet
createUIDSets
public static UIDSet[] createUIDSets(long[] msgs)
toString
public static String toString(UIDSet[] msgsets)
- Convert an array of UIDSets into an IMAP sequence range
size
public static long size(UIDSet[] msgsets)
Copyright © 2011 Sun Microsystems, Inc.. All Rights Reserved.