public abstract class SizeLimitCollection extends BaseResourceCollectionWrapper
description, location, project| Constructor and Description |
|---|
SizeLimitCollection() |
| Modifier and Type | Method and 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.
|
createIterator, getCollection, getSizeadd, dieOnCircularReference, getResourceCollection, isCache, isFilesystemOnly, iterator, setCache, toStringcheckAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributesgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisEmpty, 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()