public class LessEqualsPredicate<T> extends ComparisonPredicate<T>
Resource
property.Constructor and Description |
---|
LessEqualsPredicate(String propertyId,
Comparable<T> value)
Construct a LessEqualsPredicate.
|
Modifier and Type | Method and Description |
---|---|
ComparisonPredicate<T> |
copy(String propertyId) |
boolean |
evaluate(Resource resource)
Evaluate the predicate for the given resource.
|
String |
getOperator() |
accept, compareValueTo, compareValueToIgnoreCase, equals, getValue, hashCode, toString
getPropertyId, getPropertyIds
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getPropertyIds
public LessEqualsPredicate(String propertyId, Comparable<T> value)
propertyId
- the property idvalue
- the valueIllegalArgumentException
- if the given value is nullpublic boolean evaluate(Resource resource)
Predicate
resource
- the resource to evaluate the predicate againstpublic String getOperator()
getOperator
in class ComparisonPredicate<T>
public ComparisonPredicate<T> copy(String propertyId)
copy
in class ComparisonPredicate<T>
Copyright © 2022 Apache Software Foundation. All rights reserved.