org.apache.tools.ant.types.resources
Class SizeLimitCollection
- Cloneable, ResourceCollection
public abstract class SizeLimitCollection
ResourceCollection that imposes a size limit on another ResourceCollection.
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.
|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, setRefid, toString, tooManyAttributes |
getCount
public int getCount()
Get the number of resources to be included. Default is 1.
getValidCount
protected int getValidCount()
Get the count, verifying it is >= 0.
setCount
public void setCount(int i)
Set the number of resources to be included.