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

public Class PropertyContainsRule<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 "contains" the provided value.

Field Summary

Modifier and TypeField and Description
private final Property
private final String

Constructor Summary

AccessConstructor and Description
public
PropertyContainsRule(Property specification, String value)

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

specificationback to summary
private final Property specification
valueback to summary
private final String value

Constructor Detail

PropertyContainsRuleback to summary
public PropertyContainsRule(Property specification, String value)

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