java.lang.Cloneable, java.lang.Iterable<Resource>, ResourceCollectionpublic class AllButFirst extends SizeLimitCollection
count elements, a la
the UNIX tail command with parameter -n +count.description, location, project| Constructor | Description |
|---|---|
AllButFirst() |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.util.Collection<Resource> |
getCollection() |
Take all elements except for the first
count elements. |
int |
size() |
Efficient size implementation.
|
add, dieOnCircularReference, getResourceCollection, isCache, isFilesystemOnly, iterator, setCache, toStringcreateIterator, getSizecheckAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributesequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectisEmpty, streamgetCount, getValidCount, setCountprotected java.util.Collection<Resource> getCollection()
count elements.getCollection in class BaseResourceCollectionWrapperpublic int size()
SizeLimitCollectionsize in interface ResourceCollectionsize in class SizeLimitCollection