MCPcopy Create free account
hub / github.com/buggins/coolreader / setBookmarks

Method setBookmarks

android/src/org/coolreader/crengine/BookInfo.java:244–254  ·  view source on GitHub ↗
(ArrayList<Bookmark> list)

Source from the content-addressed store, hash-verified

242 }
243
244 synchronized void setBookmarks(ArrayList<Bookmark> list)
245 {
246 if ( list.size()>0 ) {
247 if ( list.get(0).getType()==0 ) {
248 lastPosition = list.remove(0);
249 }
250 }
251 if ( list.size()>0 ) {
252 bookmarks = list;
253 }
254 }
255
256 @Override
257 public String toString() {

Callers 1

loadRecentBooksMethod · 0.95

Calls 4

sizeMethod · 0.45
getTypeMethod · 0.45
getMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected