Public Member Functions | |
CollectionIterator (List< E > collection) | |
int | getPage () |
void | setPage (int page) |
void | initClauses () |
List< E > | getItems () |
int | getTotalCount () |
List< E > | getTotalItems () |
int | item () |
void | current (int value) |
int | current () |
int | pages () |
boolean | beginning () |
boolean | end () |
void | next () |
void | previous () |
boolean | isEmpty () |
Protected Attributes | |
List< E > | items |
int | _total = -1 |
Definition at line 27 of file CollectionIterator.java.
org.turro.collections.CollectionIterator< E, ID >.CollectionIterator | ( | List< E > | collection | ) |
Definition at line 35 of file CollectionIterator.java.
boolean org.turro.collections.CollectionIterator< E, ID >.beginning | ( | ) |
Definition at line 101 of file CollectionIterator.java.
int org.turro.collections.CollectionIterator< E, ID >.current | ( | ) |
void org.turro.collections.CollectionIterator< E, ID >.current | ( | int | value | ) |
boolean org.turro.collections.CollectionIterator< E, ID >.end | ( | ) |
Definition at line 105 of file CollectionIterator.java.
List<E> org.turro.collections.CollectionIterator< E, ID >.getItems | ( | ) |
Definition at line 54 of file CollectionIterator.java.
int org.turro.collections.CollectionIterator< E, ID >.getPage | ( | ) |
Definition at line 39 of file CollectionIterator.java.
int org.turro.collections.CollectionIterator< E, ID >.getTotalCount | ( | ) |
List<E> org.turro.collections.CollectionIterator< E, ID >.getTotalItems | ( | ) |
void org.turro.collections.CollectionIterator< E, ID >.initClauses | ( | ) |
Definition at line 47 of file CollectionIterator.java.
boolean org.turro.collections.CollectionIterator< E, ID >.isEmpty | ( | ) |
Reimplemented in org.turro.collections.CollectionHtmlIterator< E, ID >.
Definition at line 117 of file CollectionIterator.java.
int org.turro.collections.CollectionIterator< E, ID >.item | ( | ) |
Definition at line 69 of file CollectionIterator.java.
void org.turro.collections.CollectionIterator< E, ID >.next | ( | ) |
int org.turro.collections.CollectionIterator< E, ID >.pages | ( | ) |
void org.turro.collections.CollectionIterator< E, ID >.previous | ( | ) |
void org.turro.collections.CollectionIterator< E, ID >.setPage | ( | int | page | ) |
|
protected |
Definition at line 30 of file CollectionIterator.java.
|
protected |
Reimplemented in org.turro.polls.PollIterator.
Definition at line 29 of file CollectionIterator.java.