Searched refs:getElementOrNone (Results 1 – 4 of 4) sorted by relevance
89 public final ImapElement getElementOrNone(int index) { in getElementOrNone() method in ImapList98 ImapElement el = getElementOrNone(index); in getListOrEmpty()107 ImapElement el = getElementOrNone(index); in getStringOrEmpty()208 final ImapElement e = getElementOrNone(i); in flatten()229 if (!mList.get(i).equalsForTest(thatList.getElementOrNone(i))) { in equalsForTest()
120 return getStringOrEmpty(getElementOrNone(1).isList() ? 2 : 1); in getStatusResponseTextOrEmpty()
98 assertElement(ImapList.EMPTY, list.getElementOrNone(0)); in testGetElementOrNone()99 assertElement(STRING_1, list.getElementOrNone(1)); in testGetElementOrNone()100 assertElement(LIST_1, list.getElementOrNone(2)); in testGetElementOrNone()101 assertElement(ImapString.EMPTY, list.getElementOrNone(3)); in testGetElementOrNone()102 assertElement(ImapElement.NONE, list.getElementOrNone(4)); // Out of index. in testGetElementOrNone()105 assertElement(ImapElement.NONE, ImapList.EMPTY.getElementOrNone(0)); in testGetElementOrNone()
733 if (bs.getElementOrNone(0).isList()) { in parseBodyStructure()739 ImapElement e = bs.getElementOrNone(i); in parseBodyStructure()826 if (type.is(ImapConstants.TEXT) && bs.getElementOrNone(9).isList()) { in parseBodyStructure()