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, getSize
add, dieOnCircularReference, getResourceCollection, isCache, isFilesystemOnly, iterator, setCache, toString
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
public void setCount(int i)
i
- the count as int.
public int getCount()
int.
public int size()
size
in interface ResourceCollection
size
in class AbstractResourceCollectionWrapper
protected int getValidCount()