Class SatisfyAnyCriterion

  • All Implemented Interfaces:
    Criterion

    public class SatisfyAnyCriterion
    extends Object
    implements Criterion
    A criterion which allows to specify at runtime whether candidates being evaluated must satisfy all other specified criteria, or may satisfy any criteria.
    • Field Detail

      • satisfyAny

        private Boolean satisfyAny
        The satisfyAny criterion value.
    • Constructor Detail

      • SatisfyAnyCriterion

        public SatisfyAnyCriterion()
        Constructor.
      • SatisfyAnyCriterion

        public SatisfyAnyCriterion​(boolean value)
        Constructor.
        Parameters:
        value - the satisfyAny flag value
    • Method Detail

      • isSatisfyAny

        public boolean isSatisfyAny()
        Get the satisfyAny value.
        Returns:
        true or false
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object