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

public Class Name

extends ResourceComparator
Class Inheritance
Imports
org.apache.tools.ant.types.Resource

Compares Resources by name.
Since
Ant 1.7

Constructor Summary

AccessConstructor and Description
public
Name()

Method Summary

Modifier and TypeMethod and Description
protected int

Returns:

a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
resourceCompare
(Resource
the first Resource.
foo
,
Resource
the second Resource.
bar
)

Implements abstract org.apache.tools.ant.types.resources.comparators.ResourceComparator.resourceCompare.

Compare two Resources.
Inherited from org.apache.tools.ant.types.resources.comparators.ResourceComparator:
compareequalshashCode

Constructor Detail

Nameback to summary
public Name()

Method Detail

resourceCompareback to summary
protected int resourceCompare(Resource foo, Resource bar)

Implements abstract org.apache.tools.ant.types.resources.comparators.ResourceComparator.resourceCompare.

Compare two Resources.

Parameters
foo:Resource

the first Resource.

bar:Resource

the second Resource.

Returns:int

a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.