com.sun.mail.imap
クラス Utility

java.lang.Object
  上位を拡張 com.sun.mail.imap.Utility

public final class Utility
extends Object


入れ子のクラスの概要
static interface Utility.Condition
          このインタフェースは、toMessageSet() で実行する為の test を定義します。
 
メソッドの概要
static com.sun.mail.imap.protocol.MessageSet[] 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.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

toMessageSet

public static com.sun.mail.imap.protocol.MessageSet[] 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. If a message in the given array is found to be expunged, it is ignored. ASSERT: Since this method uses and returns message sequence numbers, you should use this method only when holding the messageCacheLock.