Top Description Fields Constructors Methods
net.fortuna.ical4j.filter.predicate

public Class PropertyEqualToRule<T extends PropertyContainer>

extends Object
implements Predicate<T extends PropertyContainer>
Class Inheritance
All Implemented Interfaces
java.util.function.Predicate
Imports
net.fortuna.ical4j.model.Property, .PropertyContainer, java.util.function.Predicate

$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.
Author
Ben Fortuna

Field Summary

Modifier and TypeField and Description
private final Comparable<Property>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final boolean
test(final T
the input argument
component
)

Implements java.util.function.Predicate.test.

Evaluates this predicate on the given argument.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

comparableback to summary
private final Comparable<Property> comparable

Constructor Detail

PropertyEqualToRuleback to summary
public PropertyEqualToRule(Comparable<Property> comparable)

Method Detail

testback to summary
public final boolean test(final T component)

Implements java.util.function.Predicate.test.

Doc from java.util.function.Predicate.test.

Evaluates this predicate on the given argument.

Parameters
component:T

the input argument

Returns:boolean

true if the input argument matches the predicate, otherwise false

Annotations
@Override