java.lang.Object
net.fortuna.ical4j.filter.Filter<T>
Deprecated.
$Id$
Created: Feb 1, 2006
Performs collection filtering based on a set of rules. A filter may dictate whether at least one rule or all rules
are matched.
NOTE: Implementation of filter rules has changed in recent releases to fix behaviour. Please ensure you update
your code to use explicit constructors.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Collection<T>filter(Collection<T> c) Deprecated.Filter the given collection into a new collection.final T[]Deprecated.Returns a filtered subset of the specified array.getRules()Deprecated.final voidDeprecated.
-
Field Details
-
MATCH_ANY
public static final int MATCH_ANYDeprecated.Indicates that any rule may be matched to include an object in the filtered collection.- See Also:
-
MATCH_ALL
public static final int MATCH_ALLDeprecated.Indicates that all rules must be matched to include an object in the filtered collection.- See Also:
-
-
Constructor Details
-
Method Details
-
filter
Deprecated.Filter the given collection into a new collection.- Parameters:
c- a collection to filter- Returns:
- a filtered collection
-
filter
Deprecated.Returns a filtered subset of the specified array.- Parameters:
objects- an array to filter- Returns:
- a filtered array
-
getRules
Deprecated.- Returns:
- Returns the rules.
-
setRules
Deprecated.- Parameters:
rules- The rules to set.
-
Component Filters