Save This Page
Home » apache-ant-1.7.1-src » org.apache.tools » ant » types » resources » [javadoc | source]
org.apache.tools.ant.types.resources
public class: First [javadoc | source]
java.lang.Object
   org.apache.tools.ant.ProjectComponent
      org.apache.tools.ant.types.DataType
         org.apache.tools.ant.types.resources.BaseResourceCollectionWrapper
            org.apache.tools.ant.types.resources.SizeLimitCollection
               org.apache.tools.ant.types.resources.First

All Implemented Interfaces:
    ResourceCollection, Cloneable

ResourceCollection that contains the first count elements of another ResourceCollection, a la the UNIX head command.
Fields inherited from org.apache.tools.ant.types.DataType:
ref,  checked
Fields inherited from org.apache.tools.ant.ProjectComponent:
project,  location,  description
Method from org.apache.tools.ant.types.resources.First Summary:
getCollection
Methods from org.apache.tools.ant.types.resources.SizeLimitCollection:
getCount,   getValidCount,   setCount,   size
Methods from org.apache.tools.ant.types.resources.BaseResourceCollectionWrapper:
add,   dieOnCircularReference,   getCollection,   getResourceCollection,   isCache,   isFilesystemOnly,   iterator,   setCache,   size,   toString
Methods from org.apache.tools.ant.types.DataType:
checkAttributesAllowed,   checkChildrenAllowed,   circularReference,   clone,   dieOnCircularReference,   dieOnCircularReference,   dieOnCircularReference,   getCheckedRef,   getCheckedRef,   getCheckedRef,   getCheckedRef,   getDataTypeName,   getRefid,   invokeCircularReferenceCheck,   isChecked,   isReference,   noChildrenAllowed,   setChecked,   setRefid,   toString,   tooManyAttributes
Methods from org.apache.tools.ant.ProjectComponent:
clone,   getDescription,   getLocation,   getProject,   log,   log,   setDescription,   setLocation,   setProject
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tools.ant.types.resources.First Detail:
 protected Collection getCollection() 
    Take the first count elements.