MCPcopy Create free account
hub / github.com/M66B/FairEmail / seqnumOf

Method seqnumOf

app/src/main/java/com/sun/mail/imap/MessageCache.java:423–432  ·  view source on GitHub ↗

Return the sequence number for the given message number. @param msgnum the message number @return the sequence number

(int msgnum)

Source from the content-addressed store, hash-verified

421 * @return the sequence number
422 */
423 public int seqnumOf(int msgnum) {
424 if (seqnums == null)
425 return msgnum;
426 else {
427 if (logger.isLoggable(Level.FINE))
428 logger.fine("msgnum " + msgnum + " is seqnum " +
429 seqnums[msgnum-1]);
430 return seqnums[msgnum-1];
431 }
432 }
433
434 /**
435 * Return the message number for the given sequence number.

Callers 3

getMessageMethod · 0.95
getSequenceNumberMethod · 0.80

Calls 2

fineMethod · 0.80
isLoggableMethod · 0.45

Tested by

no test coverage detected