Package net.fortuna.ical4j.filter
Class HasPropertyRule<T extends Component>
- java.lang.Object
-
- net.fortuna.ical4j.filter.HasPropertyRule<T>
-
- All Implemented Interfaces:
Predicate<T>
public class HasPropertyRule<T extends Component> extends Object implements Predicate<T>
$Id$ Created on 5/02/2006 A rule that matches any component containing the specified property. Note that this rule ignores any parameters matching only on the value of the property.
-
-
Constructor Summary
Constructors Constructor Description HasPropertyRule(Property property)
Constructs a new instance with the specified property.HasPropertyRule(Property property, boolean matchEquals)
Constructs a new instance with the specified property.
-
-
-
Constructor Detail
-
HasPropertyRule
public HasPropertyRule(Property property)
Constructs a new instance with the specified property. Ignores any parameters matching only on the value of the property.- Parameters:
property
- a property instance to check for
-
HasPropertyRule
public HasPropertyRule(Property property, boolean matchEquals)
Constructs a new instance with the specified property.- Parameters:
property
- the property to matchmatchEquals
- if true, matches must contain an identical property (as indicated byProperty.equals()
-
-