/**
* Empty constructor, not to use.
*/
+ @SuppressWarnings("unused")
private Chapter() {
// for serialisation purposes
}
/**
* Get an iterator on the {@link Paragraph}s.
*/
+ @Override
public Iterator<Paragraph> iterator() {
return paragraphs == null ? empty.iterator() : paragraphs.iterator();
}
/**
- * The number of words in this {@link Chapter}.
+ * The number of words (or images) in this {@link Chapter}.
*
* @return the number of words
*/
}
/**
- * The number of words in this {@link Chapter}.
+ * The number of words (or images) in this {@link Chapter}.
*
* @param words
* the number of words to set