Skip to content

Commit e3f8877

Browse files
committed
added size method
1 parent 3ad7d7d commit e3f8877

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/net/sharksystem/aasp/AASPChunkCache.java

+2
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,6 @@ CharSequence getMessage(int position, boolean chronologically)
6464
*/
6565
void sync() throws IOException;
6666

67+
int size();
68+
6769
}

src/net/sharksystem/aasp/AASPInMemoChunkCache.java

+4
Original file line numberDiff line numberDiff line change
@@ -283,4 +283,8 @@ public CharSequence next() {
283283
return retMessage;
284284
}
285285
}
286+
287+
public int size() {
288+
return this.numberOfMessages;
289+
}
286290
}

0 commit comments

Comments
 (0)