MCPcopy Create free account
hub / github.com/dumbledore/AlbiteREADER / getChapter

Method getChapter

src/org/albite/book/model/book/Book.java:511–522  ·  view source on GitHub ↗
(final int number)

Source from the content-addressed store, hash-verified

509 }
510
511 public final Chapter getChapter(final int number) {
512
513 if (number < 0) {
514 return chapters[0];
515 }
516
517 if (number > chapters.length - 1) {
518 return chapters[chapters.length - 1];
519 }
520
521 return chapters[number];
522 }
523
524 public final void fillBookInfo(Form f) {
525

Callers 8

getTocMethod · 0.95
loadBookSettingsMethod · 0.95
loadBookmarksMethod · 0.95
goToFirstPageMethod · 0.45
goToLastPageMethod · 0.45
goToPositionMethod · 0.45
goToSavedPositionMethod · 0.45
addBookmarkMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected