java.lang.Cloneable, java.lang.Iterable<Resource>, ResourceCollectionAllButFirst, AllButLast, First, Lastpublic abstract class SizeLimitCollection extends BaseResourceCollectionWrapper
description, location, project| Constructor | Description |
|---|---|
SizeLimitCollection() |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getCount() |
Get the number of resources to be included.
|
protected int |
getValidCount() |
Get the count, verifying it is >= 0.
|
void |
setCount(int i) |
Set the number of resources to be included.
|
int |
size() |
Efficient size implementation.
|
add, dieOnCircularReference, getResourceCollection, isCache, isFilesystemOnly, iterator, setCache, toStringcreateIterator, getCollection, getSizecheckAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributesequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectisEmpty, streampublic void setCount(int i)
i - the count as int.public int getCount()
int.public int size()
size in interface ResourceCollectionsize in class AbstractResourceCollectionWrapperprotected int getValidCount()