Home | History | Annotate | Download | only in imap

Lines Matching defs:ImapList

24 public class ImapList extends ImapElement {
26 * {@link ImapList} representing an empty list.
28 public static final ImapList EMPTY = new ImapList() {
95 * If {@code index} is out of range or not a list, returns {@link ImapList#EMPTY}.
97 public final ImapList getListOrEmpty(int index) {
99 return el.isList() ? (ImapList) el : EMPTY;
125 * Return an {@link ImapList} keyed by {@code key}.
126 * Return {@link ImapList#EMPTY} if not found.
128 public final ImapList getKeyedListOrEmpty(String key) {
133 * Return an {@link ImapList} keyed by {@code key}.
134 * Return {@link ImapList#EMPTY} if not found.
136 public final ImapList getKeyedListOrEmpty(String key, boolean prefixMatch) {
138 return (e != null) ? ((ImapList) e) : ImapList.EMPTY;
224 ImapList thatList = (ImapList) that;