java.lang.Cloneable
, java.lang.Iterable<Resource>
, ResourceCollection
public class First extends SizeLimitCollection
count
elements of
another ResourceCollection, a la the UNIX head command.description, location, project
Constructor | Description |
---|---|
First() |
Modifier and Type | Method | Description |
---|---|---|
protected java.util.Collection<Resource> |
getCollection() |
Take the first
count elements. |
add, dieOnCircularReference, getResourceCollection, isCache, isFilesystemOnly, iterator, setCache, toString
createIterator, getSize
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
isEmpty, stream
getCount, getValidCount, setCount, size
protected java.util.Collection<Resource> getCollection()
count
elements.getCollection
in class BaseResourceCollectionWrapper