public class MessageSet extends Object
Constructor | Description |
---|---|
MessageSet() |
|
MessageSet(int start,
int end) |
Modifier and Type | Method | Description |
---|---|---|
static MessageSet[] |
createMessageSets(int[] msgs) |
Convert an array of integers into an array of MessageSets
|
int |
size() |
Count the total number of elements in a MessageSet
|
static int |
size(MessageSet[] msgsets) |
|
static String |
toString(MessageSet[] msgsets) |
Convert an array of MessageSets into an IMAP sequence range
|
public MessageSet()
public MessageSet(int start, int end)
public int size()
public static MessageSet[] createMessageSets(int[] msgs)
msgs
- the messagespublic static String toString(MessageSet[] msgsets)
msgsets
- the MessageSetspublic static int size(MessageSet[] msgsets)
Copyright © 2018 Oracle. All rights reserved.