com.sun.mail.imap.protocol
类 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.


字段摘要
 long end
           
 long start
           
 
构造方法摘要
UIDSet()
           
UIDSet(long start, long end)
           
 
方法摘要
static UIDSet[] createUIDSets(long[] msgs)
           
 long size()
          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
 
从类 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 © 2013. All Rights Reserved.