Package ml.options

Interface Constrainable

  • All Known Implementing Classes:
    OptionData, OptionSet

    public interface Constrainable
    The interface for objects which can be constrained, i. e. Constraints can be attached to such objects.
    • Method Detail

      • addConstraint

        void addConstraint​(Constraint constraint)
        Add a constraint to this instance.

        Parameters:
        constraint - The Constraint to add to the list of constraints for this instance
      • getConstraints

        java.util.List<Constraint> getConstraints()
        Access all known constraints

        Returns:
        A list of Constraints for this instance