public interface TemplateCollectionModelEx extends TemplateCollectionModel
TemplateCollectionModel
. The added extra operations are provided by all Java Collection
-s, and this
interface was added to make that accessible for templates too.NOTHING
Modifier and Type | Method and Description |
---|---|
boolean |
isEmpty()
Returns if the collection contains any elements.
|
int |
size()
Returns the number items in this collection, or
Integer.MAX_VALUE , if there are more than
Integer.MAX_VALUE items. |
iterator
int size() throws TemplateModelException
Integer.MAX_VALUE
, if there are more than
Integer.MAX_VALUE
items.TemplateModelException
boolean isEmpty() throws TemplateModelException
size() != 0
only in that the exact
number of items need not be calculated.TemplateModelException