Top Description Constructors Methods
org.apache.tools.ant.types.resources

public Class AllButFirst

extends SizeLimitCollection
Class Inheritance
Imports
java.util.Collection, java.util.stream.Collectors, org.apache.tools.ant.types.Resource

ResourceCollection that contains all resources of another collection except for the first count elements, a la the UNIX tail command with parameter -n +count.
Since
Ant 1.9.5

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Collection<Resource>

Returns:

a Collection of Resources.
getCollection
()

Implements abstract org.apache.tools.ant.types.resources.BaseResourceCollectionWrapper.getCollection.

Take all elements except for the first count elements.
public synchronized int
Inherited from org.apache.tools.ant.types.resources.SizeLimitCollection:
getCountgetValidCountsetCount

Constructor Detail

AllButFirstback to summary
public AllButFirst()

Method Detail

getCollectionback to summary
protected Collection<Resource> getCollection()

Implements abstract org.apache.tools.ant.types.resources.BaseResourceCollectionWrapper.getCollection.

Take all elements except for the first count elements.

Returns:Collection<Resource>

a Collection of Resources.

Annotations
@Override
sizeback to summary
public synchronized int size()

Overrides org.apache.tools.ant.types.resources.SizeLimitCollection.size.

Implements org.apache.tools.ant.types.ResourceCollection.size.

Doc from org.apache.tools.ant.types.resources.SizeLimitCollection.size.

Efficient size implementation.

Returns:int

int size

Annotations
@Override