| java.lang.Object org.apache.ivy.util.filter.FilterHelper
FilterHelper | final public class FilterHelper (Code) | | |
Method Summary | |
public static Collection | filter(Collection col, Filter filter) Returns a new collection containing only the items from the given collectoin, which are
accepted by the filter.
Parameters: col - The collection to filter. Parameters: filter - The filter to use. | public static Filter | getArtifactTypeFilter(String types) |
filter | public static Collection filter(Collection col, Filter filter)(Code) | | Returns a new collection containing only the items from the given collectoin, which are
accepted by the filter.
Parameters: col - The collection to filter. Parameters: filter - The filter to use. A new collection instance containing the only the instance accepted by the filter. Comment: We could have used Commons-Collectionsfacility for this. If we accepted to add dependencies on third party jars. |
|
|