public final class Utility extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Utility.Condition
This interface defines the test to be executed in
toMessageSet() . |
Modifier and Type | Method and Description |
---|---|
static 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.
|
static UIDSet[] |
toUIDSet(Message[] msgs)
Return UIDSets for the messages.
|
public static MessageSet[] toMessageSet(Message[] msgs, Utility.Condition cond)
Copyright © 2018 JBoss by Red Hat. All rights reserved.