public interface PageSet extends Iterable<Page>
| Modifier and Type | Method and Description |
|---|---|
void |
addPage(Page page)
Adds a new page to the set.
|
Page |
get(int index)
Obtains the page at the given index.
|
Date |
getDateCreated()
Obtains the creation date of the set.
|
String |
getDescription()
Obtains the set description.
|
String |
getName()
Obtains the name of the set.
|
int |
size()
Obtains the number of pages contained in this set.
|
forEach, iterator, spliteratorString getName()
String getDescription()
Date getDateCreated()
int size()
void addPage(Page page)
page - The page to be added.Page get(int index) throws IndexOutOfBoundsException
index - IndexOutOfBoundsExceptionCopyright © 2016. All rights reserved.