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

public Class PropertyInRangeRule<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 is by comparison greater than the provided value.

Field Summary

Modifier and TypeField and Description
private final boolean
private final Comparable<Property>
private final Comparable<Property>

Constructor Summary

AccessConstructor and Description
public
public
PropertyInRangeRule(Comparable<Property> lowerBound, Comparable<Property> upperBound, boolean inclusive)

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

inclusiveback to summary
private final boolean inclusive
lowerBoundback to summary
private final Comparable<Property> lowerBound
upperBoundback to summary
private final Comparable<Property> upperBound

Constructor Detail

PropertyInRangeRuleback to summary
public PropertyInRangeRule(Comparable<Property> lowerBound, Comparable<Property> upperBound)
PropertyInRangeRuleback to summary
public PropertyInRangeRule(Comparable<Property> lowerBound, Comparable<Property> upperBound, boolean inclusive)

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