| java.lang.Object | |
| ↳ | com.google.code.com.sun.mail.imap.Utility |
Holder for some static utility methods.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Utility.Condition | This interface defines the test to be executed in
toMessageSet(). |
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
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.
| |||||||||||
Return UIDSets for the messages.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
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.
| msgs | |
|---|---|
| cond |
Return UIDSets for the messages. Note that the UIDs must have already been fetched for the messages.
| msgs |
|---|