public class EqualsPredicate<T> extends ComparisonPredicate<T>
Resource property.| Constructor and Description |
|---|
EqualsPredicate(String propertyId,
Comparable<T> value) |
| Modifier and Type | Method and Description |
|---|---|
ComparisonPredicate<T> |
copy(String propertyId) |
boolean |
evaluate(Resource resource)
Evaluate the predicate for the given resource.
|
boolean |
evaluateIgnoreCase(Resource resource)
Case insensitive equality support for string types
|
String |
getOperator() |
accept, compareValueTo, compareValueToIgnoreCase, equals, getValue, hashCode, toStringgetPropertyId, getPropertyIdsclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetPropertyIdspublic EqualsPredicate(String propertyId, Comparable<T> value)
public boolean evaluate(Resource resource)
Predicateresource - the resource to evaluate the predicate againstpublic boolean evaluateIgnoreCase(Resource resource)
resource - public 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.