public interface MessageIdList
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
String msgId,
boolean persistent)
Adds a message identifier at the psecified index and indicates whether the
identifier should be persistently added or not.
|
void |
add(String msgId,
boolean persistent)
Adds a message identifier and indicates whether the identifier should be
persistently added or not.
|
void |
clear() |
boolean |
contains(String msgId) |
void |
delete()
Deletes the list from the persistent storage.
|
String |
get(int index) |
boolean |
isEmpty() |
Iterator<String> |
iterator() |
String |
remove(int index) |
void |
remove(String msgId) |
void |
save()
Saves the list in the persistent storage.
|
int |
size() |
String[] |
toArray(String[] array) |
int size()
boolean contains(String msgId)
void add(String msgId, boolean persistent)
msgId
- the added message identifierpersistent
- indicates whether the identifier should be persistently added or
notboolean isEmpty()
String remove(int index)
String get(int index)
void remove(String msgId)
void add(int index, String msgId, boolean persistent)
index
- the index of the added message identifiermsgId
- the added message identifierpersistent
- indicates whether the identifier should be persistently added or
notvoid clear()
void delete()
Copyright © 2015 ScalAgent D.T.. All Rights Reserved.