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

public Class PropertyMatchesRule<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

Test for a property that "matches" the provided regular expression.

Field Summary

Modifier and TypeField and Description
private final String
private final Property

Constructor Summary

AccessConstructor and Description
public
PropertyMatchesRule(Property specification, String pattern)

Method Summary

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

Implements java.util.function.Predicate.test.

Evaluates this predicate on the given argument.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

patternback to summary
private final String pattern
specificationback to summary
private final Property specification

Constructor Detail

PropertyMatchesRuleback to summary
public PropertyMatchesRule(Property specification, String pattern)

Method Detail

testback to summary
public boolean test(T t)

Implements java.util.function.Predicate.test.

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

Evaluates this predicate on the given argument.

Parameters
t:T

the input argument

Returns:boolean

true if the input argument matches the predicate, otherwise false

Annotations
@Override