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

Method getCount

app/src/main/java/com/sun/mail/imap/MessageCache.java:133–141  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131 }
132
133 public int getCount() {
134 int count = 0;
135 for (int i = 0; i < size; i++) {
136 IMAPMessage msg = messages[i];
137 if (msg == null || !msg.isExpunged())
138 count++;
139 }
140 return count;
141 }
142
143 /**
144 * Get the message object for the indicated sequence number.

Callers

nothing calls this directly

Calls 1

isExpungedMethod · 0.95

Tested by

no test coverage detected