Class SelectorBasedConstraint

    • Constructor Detail

      • SelectorBasedConstraint

        public SelectorBasedConstraint​(SelectorImpl selector)
        Creates a new constraint based on the given selector.
        Parameters:
        selector - the selector this constraint is based on.
    • Method Detail

      • getSelectorIndex

        protected int getSelectorIndex​(Name[] names)
        Returns the selector index of this constraint.
        Parameters:
        names - the selector names.
        Returns:
        the selector index.
      • getSelector

        protected SelectorImpl getSelector()
        Returns:
        the selector of this constraint.