V
- The type of operandspublic static final class PropertyComparisonConstraint.GreaterThanEqualOp<V> extends PropertyComparisonConstraint<V>
PropertyComparisonConstraint
implementation that applies >=
operator to a value and
other property.GreaterThanEqual
,
ConstraintFactory.gte(Class, String)
,
ConstraintFactory.gte(Class, String, Comparator)
PropertyComparisonConstraint.EqualToOp<V>, PropertyComparisonConstraint.GreaterThanEqualOp<V>, PropertyComparisonConstraint.GreaterThanOp<V>, PropertyComparisonConstraint.LessThanEqualOp<V>, PropertyComparisonConstraint.LessThanOp<V>, PropertyComparisonConstraint.NotEqualToOp<V>
comparator, propertyName, type
Modifier and Type | Method and Description |
---|---|
protected boolean |
compare(V value1,
V value2)
Compares if the first specified operand is greater than or equal to
the second.
|
appendMessageArguments, check, getComparator, getMessageTemplate, getPropertyName, getType
validate
protected boolean compare(V value1, V value2)
compare
in class PropertyComparisonConstraint<V>
value1
- First operand.value2
- Second operand.true
if the first specified operand is greater
than or equal to the second; false
otherwise.Copyright © 2011–2020 FoxLabs. All rights reserved.