public class MessageSet
extends java.lang.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 java.lang.String |
toString(MessageSet[] msgsets) |
Convert an array of MessageSets into an IMAP sequence range
|
public int size()
public static MessageSet[] createMessageSets(int[] msgs)
msgs - the messagespublic static java.lang.String toString(MessageSet[] msgsets)
msgsets - the MessageSetspublic static int size(MessageSet[] msgsets)
Copyright © 2018 Oracle. All rights reserved.