java.lang.Cloneable
, java.lang.Iterable<Resource>
, ResourceCollection
public 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, 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
protected java.util.Collection<Resource> getCollection()
count
elements.getCollection
in class BaseResourceCollectionWrapper
public int size()
SizeLimitCollection
size
in interface ResourceCollection
size
in class SizeLimitCollection